Allow users to restrict an az login session to one resource group or resource #17276
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@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| with: | |
| sparse-checkout: | | |
| .github/template/non-security-comment.md | |
| - name: Comment on issue with no security label | |
| uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| message-id: issueNoSecurityCommentBot | |
| message-path: | | |
| .github/template/non-security-comment.md |