Skip to content

Commit

Permalink
fix: Target PR correctly when assigning autorelease labels
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzolino committed Feb 20, 2023
1 parent cbfddc8 commit dba7969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ jobs:
with:
script: |
github.rest.issues.addLabels({
issue_number: ${{ needs.release-please.outputs.pr_number }},
issue_number: ${{ needs.release-please.outputs.pr.number }},
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["autorelease: published"]
})
github.rest.issues.removeLabel({
issue_number: ${{ needs.release-please.outputs.pr_number }},
issue_number: ${{ needs.release-please.outputs.pr.number }},
owner: context.repo.owner,
repo: context.repo.repo,
name: "autorelease: tagged"
Expand Down

0 comments on commit dba7969

Please sign in to comment.