Skip to content

Commit 4d2c9c4

Browse files
authored
chore(maintenance): enables publishing docs and changelog, running e2e tests only in the main repository (#2924)
1 parent 2be3071 commit 4d2c9c4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/reusable_publish_changelog.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ permissions:
1515

1616
jobs:
1717
publish_changelog:
18+
if: github.repository == 'aws-powertools/powertools-lambda-python'
1819
# Force Github action to run only a single job at a time (based on the group name)
1920
# This is to prevent race-condition and inconsistencies with changelog push
2021
concurrency:

.github/workflows/reusable_publish_docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ permissions:
3232

3333
jobs:
3434
publish_docs:
35+
if: github.repository == 'aws-powertools/powertools-lambda-python'
3536
# Force Github action to run only a single job at a time (based on the group name)
3637
# This is to prevent "race-condition" in publishing a new version of doc to `gh-pages`
3738
concurrency:

.github/workflows/run-e2e-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fail-fast: false # needed so if a version fails, the others will still be able to complete and cleanup
4949
matrix:
5050
version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
51-
if: ${{ github.actor != 'dependabot[bot]' }}
51+
if: ${{ github.actor != 'dependabot[bot]' && github.repository == 'aws-powertools/powertools-lambda-python' }}
5252
steps:
5353
- name: "Checkout"
5454
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

0 commit comments

Comments
 (0)