Skip to content

Update iot-factory.yml #66

Update iot-factory.yml

Update iot-factory.yml #66

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']
})