Skip to content

Commit f0acce4

Browse files
Merge pull request #7 from AlexTheMagnus/restrict_semantic_release_to_master
feat: Restrict semantic release github action to master branch
2 parents 843e2b4 + dcad452 commit f0acce4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/semantic-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: Run semantic release
22

3+
34
on: [push, pull_request]
45

56
jobs:
67
run-script:
8+
if: ${{github.ref == 'refs/heads/master'}}
79
runs-on: ubuntu-latest
810
steps:
911
- name: Checkout

0 commit comments

Comments
 (0)