Skip to content

Commit

Permalink
fix: condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sushichan044 committed Oct 24, 2024
1 parent 03f9af1 commit bba8694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Label PR if not published
if: steps.changesets.outputs.published != 'true'
if: steps.changesets.outputs.published != 'true' && steps.changesets.outputs.hasChangesets == 'true'
run: gh pr edit ${{ steps.changesets.outputs.pullRequestNumber }} --add-label "release"
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}

0 comments on commit bba8694

Please sign in to comment.