summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-06-27 01:05:28 -0400
committersiddharth <s@ricketyspace.net>2021-06-27 01:05:28 -0400
commitef77e1451179ce8758b4a44b4ca960f0d85f6153 (patch)
tree4bc990a9213fd536a2257de99825bdb9188ac02f /.github/workflows
parent80f88021717e91abf011da9524c68f53495b3d50 (diff)
.github/workflows: add codeql.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/codeql.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 0000000..e89f8f5
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,29 @@
+name: "codeql"
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ schedule:
+ - cron: '28 13 * * 5'
+jobs:
+ analyze:
+ name: analyze
+ runs-on: ubuntu-latest
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [ 'python' ]
+ steps:
+ - name: checkout repository
+ uses: actions/checkout@v2
+ - name: initialize codeql
+ uses: github/codeql-action/init@v1
+ with:
+ languages: ${{ matrix.language }}
+ - name: perform codeql analysis
+ uses: github/codeql-action/analyze@v1