Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/codeql.yml
diff options
context:
space:
mode:
authorLeitwolf112026-11-05 06:59:06 +0300
committerLeitwolf112026-11-05 06:59:06 +0300
commit286256c6f9e8c1fa272ea1d7ea5631a41377f3f5 (patch)
tree37ede6016dd0bd95fc3fb3993c62a11be7c349b1 /.github/workflows/codeql.yml
parent6f114e3df68d0b20c7e58c5ffb8c46070317008a (diff)
downloadtazel.net-286256c6f9e8c1fa272ea1d7ea5631a41377f3f5.tar.gz
Add CodeQL, Codecov, Codacy and actionlint
- CodeQL analyses the workflows and the TypeScript and Vue sources with the security-extended queries, on every push to main, every pull request and once a week. - The tests run under c8, and a job of its own uploads the lcov report to Codecov through OIDC, away from the job that installs packages. - .codacy.yml leaves out what is generated and what is copied from Progmasoft/tazel and Progmasoft/tala. - actionlint joins zizmor in Workflow Security. - CI Required gathers the site job and Dependency Review, so a ruleset can require one check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to '.github/workflows/codeql.yml')
-rw-r--r--.github/workflows/codeql.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 0000000..597e05e
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,36 @@
+# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
+# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
+
+name: CodeQL
+on:
+ push:
+ branches: [main]
+ pull_request:
+ schedule:
+ - cron: "17 5 * * 1"
+permissions:
+ actions: read
+ contents: read
+ security-events: write
+jobs:
+ analyze:
+ name: ${{ matrix.language }}
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [actions, javascript-typescript]
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+ - uses: github/codeql-action/init@7999b86c43a865dc79d8923397f35af22de63401 # v4
+ with:
+ languages: ${{ matrix.language }}
+ build-mode: none
+ config-file: ./.github/codeql/codeql-config.yml
+ queries: security-extended
+ - uses: github/codeql-action/analyze@7999b86c43a865dc79d8923397f35af22de63401 # v4
+ with:
+ category: /language:${{ matrix.language }}