Skip to content

Bump actions/github-script from 6 to 7 #36

Bump actions/github-script from 6 to 7

Bump actions/github-script from 6 to 7 #36

Workflow file for this run

# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Babu Chipkae
on:
pull_request:
branches:
- '**'
issues:
types:
- reopened
- opened
jobs:
label:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# add a triage label to newly created issues.
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write-all

Check failure on line 31 in .github/workflows/label.yml

View workflow run for this annotation

GitHub Actions / Babu Chipkae

Invalid workflow file

The workflow is not valid. .github/workflows/label.yml (Line: 31, Col: 15): Unexpected value 'write-all'
steps:
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["triage"]
})