aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2020-06-11 21:22:04 +0200
committerGravatar Frank Denis <github@pureftpd.org>2020-06-11 21:22:04 +0200
commitbfda4ed0a5b1568e87df822bf76a8141e6651b72 (patch)
tree0cf2fbcf414b9c8eb09874d68b92d46d220b9e01
parent1db3be8a7b9f6664b27ab4cbdcf45889d10d95d3 (diff)
parent195cf90758c5f00a25d7961ee372a55634090d94 (diff)
downloadtweetpipe-bfda4ed0a5b1568e87df822bf76a8141e6651b72.tar.gz
Merge branch 'master' of github.com:jedisct1/encpipe
* 'master' of github.com:jedisct1/encpipe: Add CodeQL scan
-rw-r--r--.github/workflows/codeql-analysis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..6af0ed9
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,30 @@
+name: "CodeQL scan"
+
+on:
+ push:
+ pull_request:
+ schedule:
+ - cron: '0 1 * * 4'
+
+jobs:
+ CodeQL-Build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 2
+
+ - run: git checkout HEAD^2
+ if: ${{ github.event_name == 'pull_request' }}
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v1
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1