|
17 | 17 | aws-s3-us-integration: |
18 | 18 | name: AWS S3 US Integration |
19 | 19 | runs-on: ubuntu-latest |
20 | | - # Skip forks and Dependabot (no access to secrets) |
21 | | - if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' |
| 20 | + # Run on push/workflow_dispatch, skip forks and Dependabot on PRs |
| 21 | + if: | |
| 22 | + github.event_name == 'push' || |
| 23 | + github.event_name == 'workflow_dispatch' || |
| 24 | + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') |
22 | 25 | env: |
23 | 26 | REGION_NAME: us-east-1 |
24 | 27 | STACK_NAME: s3cli-iam |
|
86 | 89 | aws-s3-public-read-integration: |
87 | 90 | name: AWS S3 Public Read Integration |
88 | 91 | runs-on: ubuntu-latest |
89 | | - # Skip forks and Dependabot (no access to secrets) |
90 | | - if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' |
| 92 | + # Run on push/workflow_dispatch, skip forks and Dependabot on PRs |
| 93 | + if: | |
| 94 | + github.event_name == 'push' || |
| 95 | + github.event_name == 'workflow_dispatch' || |
| 96 | + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') |
91 | 97 | env: |
92 | 98 | REGION_NAME: us-east-1 |
93 | 99 | STACK_NAME: s3cli-public-bucket |
@@ -136,8 +142,11 @@ jobs: |
136 | 142 | aws-s3-frankfurt-integration: |
137 | 143 | name: AWS S3 Frankfurt Integration |
138 | 144 | runs-on: ubuntu-latest |
139 | | - # Skip forks and Dependabot (no access to secrets) |
140 | | - if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' |
| 145 | + # Run on push/workflow_dispatch, skip forks and Dependabot on PRs |
| 146 | + if: | |
| 147 | + github.event_name == 'push' || |
| 148 | + github.event_name == 'workflow_dispatch' || |
| 149 | + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') |
141 | 150 | env: |
142 | 151 | REGION_NAME: eu-central-1 |
143 | 152 | STACK_NAME: s3cli-private-bucket |
@@ -186,8 +195,11 @@ jobs: |
186 | 195 | s3-compatible-integration: |
187 | 196 | name: S3 Compatible Integration |
188 | 197 | runs-on: ubuntu-latest |
189 | | - # Skip forks and Dependabot (no access to secrets) |
190 | | - if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' |
| 198 | + # Run on push/workflow_dispatch, skip forks and Dependabot on PRs |
| 199 | + if: | |
| 200 | + github.event_name == 'push' || |
| 201 | + github.event_name == 'workflow_dispatch' || |
| 202 | + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') |
191 | 203 | steps: |
192 | 204 | - name: Checkout code |
193 | 205 | uses: actions/checkout@v6 |
|
0 commit comments