Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/publish-worker-re2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ permissions:
contents: read

jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Fail if re2-prod-* is pushed from a non-main branch
if: startsWith(github.ref_name, 're2-prod-') && github.base_ref != 'main'
run: |
echo "🚫 re2-prod-* tags can only be pushed from the main branch."
exit 1
# check-branch:
# runs-on: ubuntu-latest
# steps:
# - name: Fail if re2-prod-* is pushed from a non-main branch
# if: startsWith(github.ref_name, 're2-prod-') && github.base_ref != 'main'
# run: |
# echo "🚫 re2-prod-* tags can only be pushed from the main branch."
# exit 1
build:
needs: check-branch
# needs: check-branch
strategy:
matrix:
package: [supervisor]
Expand Down
Loading