Skip to content

Commit cbaae72

Browse files
committed
improve workflow gating
1 parent b833505 commit cbaae72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
runs-on: ubuntu-latest
140140
needs: [build-verify-docker]
141141
# Only push on branch merges or tags, never on plain PRs
142-
if: github.event_name != 'pull_request'
142+
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/experimental'
143143
strategy:
144144
matrix:
145145
container: [alpine, debian-trixie]

0 commit comments

Comments
 (0)