Skip to content

[BUG] It is not possible to update a detector containing only custom rules #267

[BUG] It is not possible to update a detector containing only custom rules

[BUG] It is not possible to update a detector containing only custom rules #267

Workflow file for this run

name: Apply 'untriaged' label during issue lifecycle
on:
issues:
types: [opened, reopened, transferred]
jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['untriaged']
})