From 815a344ab1fd846f1b7654aeda40026144a72e1e Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Mon, 19 Dec 2022 11:50:13 -0800 Subject: [PATCH] Add security workflow (#92) --- .github/workflows/security.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/security.yaml diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml new file mode 100644 index 0000000..e265569 --- /dev/null +++ b/.github/workflows/security.yaml @@ -0,0 +1,22 @@ +name: security +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: "0 0 * * *" +jobs: + codeql: + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + steps: + - uses: actions/checkout@v3 + - uses: github/codeql-action/init@v2 + - uses: github/codeql-action/autobuild@v2 + - uses: github/codeql-action/analyze@v2