Skip to content

Commit 14062cf

Browse files
authored
chore(ci): Skip some tests for PRs of release-plz (#405)
It does not make sense to run benchmarks and loadtests for the release PRs.
1 parent 3ecc404 commit 14062cf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/benchmark_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
bench_pr_branch:
2020
# DO NOT REMOVE: For handling Fork PRs see Pull Requests from Forks
21-
if: "github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'"
21+
if: "github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.actor != 'openstack-experimental-release-plz'"
2222
permissions:
2323
pull-requests: write
2424
strategy:

.github/workflows/functional.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124

125125
federation:
126126
runs-on: ubuntu-latest
127+
if: "github.actor != 'openstack-experimental-release-plz'"
127128
needs:
128129
- build
129130
permissions:
@@ -202,6 +203,7 @@ jobs:
202203

203204
loadtest:
204205
runs-on: ubuntu-latest
206+
if: "github.actor != 'openstack-experimental-release-plz'"
205207
needs:
206208
- build
207209
permissions:

0 commit comments

Comments
 (0)