Skip to content

remove POST from curl command #68

remove POST from curl command

remove POST from curl command #68

Workflow file for this run

name: Triage New Issues
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
jobs:
triage:
name: Triage New Issues
runs-on: ubuntu-latest
steps:
- name: Add "needs/triage" label
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['needs/triage']
})