chore: fix typos

This commit is contained in:
Daniel Roe 2024-09-10 23:17:04 +01:00
parent c4181b5a26
commit 462380d456
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -5,12 +5,13 @@ on:
types: types:
- opened - opened
permissions:
issues: write
jobs: jobs:
add-pr-labels: add-issue-labels:
name: Add labels name: Add labels
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.repository == 'nuxt/nuxt' if: github.repository == 'nuxt/nuxt'
steps: steps:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
@ -19,7 +20,7 @@ jobs:
// add 'pending triage' label if issue is created with no labels // add 'pending triage' label if issue is created with no labels
if (context.payload.issue.labels.length === 0) { if (context.payload.issue.labels.length === 0) {
github.rest.issues.addLabels({ github.rest.issues.addLabels({
issue_number: pullRequest.number, issue_number: issue.number,
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
labels: ['pending triage'] labels: ['pending triage']