From 255c742d8016de2cdca8116cf9cc6512c25ca1e5 Mon Sep 17 00:00:00 2001 From: Rakesh Arunachalam Date: Fri, 19 Jul 2024 07:27:44 -0700 Subject: [PATCH] Add a dynamic security workflow and a SECURITY.md file (#1127) --- .github/workflows/dynamic-security.yml | 19 +++++++++++++++++++ SECURITY.md | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/dynamic-security.yml create mode 100644 SECURITY.md diff --git a/.github/workflows/dynamic-security.yml b/.github/workflows/dynamic-security.yml new file mode 100644 index 00000000..26a424dc --- /dev/null +++ b/.github/workflows/dynamic-security.yml @@ -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 }} diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..9b63758c --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,2 @@ + +