Skip to content

chore: add label automatically #1

chore: add label automatically

chore: add label automatically #1

Workflow file for this run

on:
pull_request:
types: [opened]
jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
console.log(${{ steps.pr-files.outputs.changedFiles }})
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['Triage']
})