This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
[Change Request] Created rules should always have at least 1 rule selected #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Handle newly opened issues | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
add-new-label: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
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: ["New"] | |
}) |