Skip to content

Commit

Permalink
Merge pull request #7 from AlexTheMagnus/restrict_semantic_release_to…
Browse files Browse the repository at this point in the history
…_master

feat: Restrict semantic release github action to master branch
  • Loading branch information
AlexTheMagnus authored Oct 30, 2022
2 parents 843e2b4 + dcad452 commit f0acce4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Run semantic release


on: [push, pull_request]

jobs:
run-script:
if: ${{github.ref == 'refs/heads/master'}}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit f0acce4

Please sign in to comment.