Skip to content

Commit 6152933

Browse files
committed
still run integration tests on main
1 parent 86b65b6 commit 6152933

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/alioss-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ 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: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v6

.github/workflows/azurebs-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ 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: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v6

.github/workflows/gcs-integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ 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: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v6
@@ -48,8 +48,8 @@ jobs:
4848
gcs-integration-all-tests:
4949
name: GCS Integation All Tests
5050
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]'
51+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
52+
if: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
5353
steps:
5454
- name: Checkout code
5555
uses: actions/checkout@v6

.github/workflows/s3-integration.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ 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: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
2222
env:
2323
REGION_NAME: us-east-1
2424
STACK_NAME: s3cli-iam
@@ -86,8 +86,8 @@ jobs:
8686
aws-s3-public-read-integration:
8787
name: AWS S3 Public Read Integration
8888
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]'
89+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
90+
if: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
9191
env:
9292
REGION_NAME: us-east-1
9393
STACK_NAME: s3cli-public-bucket
@@ -136,8 +136,8 @@ jobs:
136136
aws-s3-frankfurt-integration:
137137
name: AWS S3 Frankfurt Integration
138138
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]'
139+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
140+
if: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
141141
env:
142142
REGION_NAME: eu-central-1
143143
STACK_NAME: s3cli-private-bucket
@@ -186,8 +186,8 @@ jobs:
186186
s3-compatible-integration:
187187
name: S3 Compatible Integration
188188
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]'
189+
# Run on push/workflow_dispatch, skip forks and Dependabot on PRs
190+
if: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
191191
steps:
192192
- name: Checkout code
193193
uses: actions/checkout@v6

0 commit comments

Comments
 (0)