Skip to content

Commit

Permalink
Require release branches to start with release-v
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Dec 3, 2020
1 parent f992962 commit 31761c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master
- release-*
- release-v*
pull_request:

env:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
aws s3 rm --recursive s3://ziti-cmd-build-tmp/${{ github.run_id }}
- name: Publish
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/head/release-')
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/head/release-v')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 31761c9

Please sign in to comment.