mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: fix typos
This commit is contained in:
parent
4555cf0edb
commit
2655e1e6be
9
.github/workflows/label-issue.yml
vendored
9
.github/workflows/label-issue.yml
vendored
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user