Skip to content

Commit

Permalink
ci: access issue number from payload
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 11, 2024
1 parent 462380d commit 8e4585c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
// add 'pending triage' label if issue is created with no labels
if (context.payload.issue.labels.length === 0) {
github.rest.issues.addLabels({
issue_number: issue.number,
issue_number: context.payload.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['pending triage']
Expand Down

0 comments on commit 8e4585c

Please sign in to comment.