]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport the CodeQL Action addition
authorXhmikosR <xhmikosr@gmail.com>
Wed, 29 Apr 2020 14:13:32 +0000 (17:13 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 2 May 2020 12:39:19 +0000 (15:39 +0300)
.github/workflows/codeql.yml [new file with mode: 0644]

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644 (file)
index 0000000..8cc48e5
--- /dev/null
@@ -0,0 +1,28 @@
+name: "Code Scanning - Action"
+
+on:
+  push:
+  pull_request:
+  schedule:
+    - cron: "0 0 * * 0"
+
+jobs:
+  CodeQL-Build:
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@v2
+
+      - name: Initialize CodeQL
+        uses: github/codeql-action/init@v1
+        with:
+          languages: javascript
+
+      - name: Autobuild
+        uses: github/codeql-action/autobuild@v1
+
+      - name: Perform CodeQL Analysis
+        uses: github/codeql-action/analyze@v1