chore(actions): remove label-security-report

This commit is contained in:
Jeremy Kahn 2023-11-10 14:27:55 -06:00
parent 1d58990c5a
commit 842b039d0d
2 changed files with 1 additions and 30 deletions

View File

@ -1,29 +0,0 @@
name: Label Security Report
on:
issues:
types:
- opened
jobs:
label-security-report:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check if issue title starts with "Security Report -"
id: check_title
run: echo "::set-output name=startsWithSecurityReport::$(echo ${{ github.event.issue.title }} | grep -q '^Security Report -' && echo true || echo false)"
- name: Add labels
if: steps.check_title.outputs.startsWithSecurityReport == 'true'
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: ["security", "reports"]
})

View File

@ -233,7 +233,7 @@ Per [#36](https://github.com/jeremyckahn/chitchatter/issues/36), check your `abo
##### Security
Chitchatter undergoes [weekly security audits](https://github.com/jeremyckahn/chitchatter/blob/develop/.github/workflows/security.yml) to identify and address potential vulnerabilities. Reports from all audits can be found in [the **Issues** section filtered by the `security` label](https://github.com/jeremyckahn/chitchatter/issues?q=is%3Aissue+is%3Aopen+label%3Asecurity).
Chitchatter undergoes [weekly security audits](https://github.com/jeremyckahn/chitchatter/blob/develop/.github/workflows/security.yml) to identify and address potential vulnerabilities. Reports from all audits can be found in [**Issues**](https://github.com/jeremyckahn/chitchatter/issues?q=%22Security+Report+-+%22).
### Contributors