Skip to content

Commit 1532200

Browse files
committed
still run integration tests on main
1 parent 2acc7ae commit 1532200

4 files changed

Lines changed: 40 additions & 16 deletions

File tree

.github/workflows/alioss-integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ jobs:
1616
alioss-general-integration-tests:
1717
name: Alioss General Integration Tests
1818
runs-on: ubuntu-latest
19-
# Skip forks and Dependabot (no access to secrets)
20-
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
19+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
20+
if: |
21+
github.event_name == 'push' ||
22+
github.event_name == 'workflow_dispatch' ||
23+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2124
steps:
2225
- name: Checkout code
2326
uses: actions/checkout@v6

.github/workflows/azurebs-integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ jobs:
1616
azurecloud-environment-integration-tests:
1717
name: AzureCloud Environment Integration Tests
1818
runs-on: ubuntu-latest
19-
# Skip forks and Dependabot (no access to secrets)
20-
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
19+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
20+
if: |
21+
github.event_name == 'push' ||
22+
github.event_name == 'workflow_dispatch' ||
23+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2124
steps:
2225
- name: Checkout code
2326
uses: actions/checkout@v6

.github/workflows/gcs-integration.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ jobs:
1616
gcs-integration-fast-tests:
1717
name: GCS Integation Fast Tests
1818
runs-on: ubuntu-latest
19-
# Skip forks and Dependabot (no access to secrets)
20-
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
19+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
20+
if: |
21+
github.event_name == 'push' ||
22+
github.event_name == 'workflow_dispatch' ||
23+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2124
steps:
2225
- name: Checkout code
2326
uses: actions/checkout@v6
@@ -48,8 +51,11 @@ jobs:
4851
gcs-integration-all-tests:
4952
name: GCS Integation All Tests
5053
runs-on: ubuntu-latest
51-
# Skip forks and Dependabot (no access to secrets)
52-
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
54+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
55+
if: |
56+
github.event_name == 'push' ||
57+
github.event_name == 'workflow_dispatch' ||
58+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
5359
steps:
5460
- name: Checkout code
5561
uses: actions/checkout@v6

.github/workflows/s3-integration.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ jobs:
1717
aws-s3-us-integration:
1818
name: AWS S3 US Integration
1919
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]')
2225
env:
2326
REGION_NAME: us-east-1
2427
STACK_NAME: s3cli-iam
@@ -86,8 +89,11 @@ jobs:
8689
aws-s3-public-read-integration:
8790
name: AWS S3 Public Read Integration
8891
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]')
9197
env:
9298
REGION_NAME: us-east-1
9399
STACK_NAME: s3cli-public-bucket
@@ -136,8 +142,11 @@ jobs:
136142
aws-s3-frankfurt-integration:
137143
name: AWS S3 Frankfurt Integration
138144
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]')
141150
env:
142151
REGION_NAME: eu-central-1
143152
STACK_NAME: s3cli-private-bucket
@@ -186,8 +195,11 @@ jobs:
186195
s3-compatible-integration:
187196
name: S3 Compatible Integration
188197
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]')
191203
steps:
192204
- name: Checkout code
193205
uses: actions/checkout@v6

0 commit comments

Comments
 (0)