Skip to content

Commit

Permalink
Fix release job condition
Browse files Browse the repository at this point in the history
Follow-up to "Condition release job on default branch" (78a8fb6) which
used the wrong property.
  • Loading branch information
victorlin committed Dec 9, 2024
1 parent 28ef8fb commit e713505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
jobs:
run:
if: github.ref == github.event.repository.default_branch
if: github.ref_name == github.event.repository.default_branch
uses: ./.github/workflows/ci.yaml
secrets: inherit
with:
Expand Down

0 comments on commit e713505

Please sign in to comment.