mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
ci: access issue number from payload
This commit is contained in:
parent
f561bab575
commit
37fec6d711
2
.github/workflows/label-issue.yml
vendored
2
.github/workflows/label-issue.yml
vendored
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user