Skip to content

Commit

Permalink
Merge pull request #125 from thoughtbot/add-a-dynamic-security-workflow
Browse files Browse the repository at this point in the history
Add a dynamic security workflow and a SECURITY.md file
  • Loading branch information
sarahraqueld authored Jul 19, 2024
2 parents ce62fef + 88cea79 commit fbf80ac
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dynamic-security.yml
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 }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ software, and may be redistributed under the terms specified in the
[LICENSE](/LICENSE) file.

<!-- START /templates/footer.md -->

## About thoughtbot

![thoughtbot](https://thoughtbot.com/thoughtbot-logo-for-readmes.svg)
Expand Down
2 changes: 2 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- START /templates/security.md -->
<!-- END /templates/security.md -->

0 comments on commit fbf80ac

Please sign in to comment.