Skip to content

Commit

Permalink
ci: correct default branch name [skip ci] (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
lread authored Aug 4, 2022
1 parent ad74bea commit 413fe73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
environment: release

runs-on: ubuntu-latest
# I do not know of a way to restrict to the main branch so try to skip the whole job if
# I do not know of a way to restrict to the master branch so try to skip the whole job if
# user selected some other branch from GitHub Actions GUI
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/master'

steps:
- name: Checkout
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
with:
tag_name: ${{ steps.target-version.outputs.tag}}
release_name: ${{ steps.target-version.outputs.tag}}
commitish: main
commitish: master

0 comments on commit 413fe73

Please sign in to comment.