-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a dynamic security workflow and a SECURITY.md file (#481)
Add a dynamic security workflow that will automatically create PRs to update our Security policies in this repo. Co-authored-by: sarahraqueld <[email protected]>
- Loading branch information
1 parent
1c24be0
commit 62f4319
Showing
2 changed files
with
21 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,19 @@ | ||
name: update-security | ||
|
||
on: | ||
push: | ||
paths: | ||
- SECURITY.md | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-security: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
pages: write | ||
uses: thoughtbot/templates/.github/workflows/dynamic-security.yaml@main | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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,2 @@ | ||
<!-- START /templates/security.md --> | ||
<!-- END /templates/security.md --> |