aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2021-08-29 11:45:13 +0000
committerGitHub <noreply@github.com>2021-08-29 11:45:13 +0000
commit78deab34b70ff8fad90ea3587cf52559c73c93c5 (patch)
tree73e8f236474fa3f8bb39f80d290c4334db86719c /.github/workflows/codeql-analysis.yml
parent7adde523e4b84f47ba96dcfd23a692eb64d1d74e (diff)
parent7e04f30b02f6f134ae65feddadf0b0b831322fcb (diff)
downloadinfinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar
infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.gz
infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.bz2
infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.lz
infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.xz
infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.zst
infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.zip
Merge pull request #406 from Skyluker4/github-actions
Add Automated Workflows
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 00000000..f4dc0ba2
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,33 @@
+name: CodeQL
+
+on:
+ push:
+ branches: master
+ pull_request:
+ workflow_dispatch:
+ schedule:
+ - cron: '0 12 * * *'
+
+jobs:
+ Analyze:
+ runs-on: ubuntu-latest
+
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ with:
+ languages: java
+
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v1
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1