[Warning] The login output has been updated. Please be aware that it no longer displays the full list of available subscriptions by default. #10267
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: Comment Issue when labeled non-security | |
| on: | |
| issues: | |
| types: [opened, labeled, unlabeled] | |
| jobs: | |
| comment-non-security: | |
| if: contains(github.event.issue.labels.*.name, 'non-security') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| name: Comment on issue | |
| steps: | |
| - name: Checkout comment message | |
| uses: actions/checkout@v4 | |
| with: | |
| sparse-checkout: | | |
| .github/template/non-security-comment.md | |
| - name: Comment on issue with no security label | |
| uses: mshick/add-pr-comment@v2 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| message-id: issueNoSecurityCommentBot | |
| message-path: | | |
| .github/template/non-security-comment.md |