-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{CI} Add non-security issue label check (#7818)
* add non-security check * adjust comment
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Hi, this inquiry has been well received albeit being triaged as non-security related ask. | ||
|
||
Azure CLI is currently prioritizing direct SFI requirements and items and this request does not seem to be related to SFI. We'll retain it in our backlog at this point. Please reach out to [email protected] if you'd justify it's highly customer-impacted and need to be escalated. | ||
|
||
Thank you, | ||
|
||
Azure CLI team |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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-20.04 | ||
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 |