-
-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dynamic security workflow and update SECURITY.md
At thoughtbot, we'd like to have a unified approach to security issues within our projects. This dynamic workflow will update Clearance's SECURITY.md with any changes made to SECURITY.md in the thoughtbot/templates repo.
- Loading branch information
Showing
2 changed files
with
21 additions
and
16 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: | ||
branches: | ||
- main | ||
paths: | ||
- SECURITY.md | ||
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 |
---|---|---|
@@ -1,16 +1,2 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
We will provide security updates for the latest 3 versions. | ||
|
||
| Version | Security updates | | ||
| - | - | | ||
| 2.7.x | ✅ | | ||
| 2.6.x | ✅ | | ||
| 2.5.x | ✅ | | ||
| < 2.5.0 | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
You can contact <[email protected]>. See <https://thoughtbot.com/security> for more information about our security policy. | ||
<!-- START /templates/security.md --> | ||
<!-- END /templates/security.md --> |