mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
ci: access issue number from payload
This commit is contained in:
parent
462380d456
commit
8e4585c141
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