Admin Moderation Tools + Audit Trail (Referrals) #7
This file contains hidden or 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: Auto Label NSOC'26 Issues | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| permissions: | |
| issues: write | |
| jobs: | |
| add-nsoc-label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add NSOC'26 label to new issues | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const labelName = "NSOC'26"; | |
| const { owner, repo } = context.repo; | |
| await github.rest.issues.addLabels({ | |
| owner, | |
| repo, | |
| issue_number: context.issue.number, | |
| labels: [labelName] | |
| }); |