Skip to content

Commit 2621363

Browse files
authored
Merge pull request #382 from modelix/ci/restrict-release-workflow
ci: restrict release workflow to main
2 parents 1eadd41 + 27d7e8c commit 2621363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
release:
99
name: Run semantic release
1010
runs-on: ubuntu-latest
11+
if: ${{ github.ref == 'refs/heads/main' }}
1112
steps:
1213
- name: Checkout
1314
uses: actions/checkout@v3

0 commit comments

Comments
 (0)