chore: fix typos

This commit is contained in:
Daniel Roe 2024-09-10 23:17:04 +01:00
parent 4555cf0edb
commit 2655e1e6be
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -5,12 +5,13 @@ on:
types:
- opened
permissions:
issues: write
jobs:
add-pr-labels:
add-issue-labels:
name: Add labels
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.repository == 'nuxt/nuxt'
steps:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
@ -19,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: pullRequest.number,
issue_number: issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['pending triage']