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

summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorLeitwolf112026-10-10 23:16:50 +0300
committerLeitwolf112026-10-10 23:16:50 +0300
commit107a257bb5313828ca5a36e4f1c2963dfb24b294 (patch)
tree1d5986232903c5ae8820c8e66a651af1f1c44c77 /.github/workflows
parent65f4b4f309958def71b9b8956c06d0d55b75e700 (diff)
parent25ceeecda724a277a174e7cc7e4402cd69c85897 (diff)
downloadprogmaweb-107a257bb5313828ca5a36e4f1c2963dfb24b294.tar.gz
Merge main into the Renovate branch
main gained the workflow analysis change, which adds a line to the checkout step right above the action whose version comment this branch corrects. Both changes are kept: the checkout does not persist its credentials, and the comment names v4.9.0.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/backend.yml2
-rw-r--r--.github/workflows/codeql.yml2
-rw-r--r--.github/workflows/frontend.yml2
-rw-r--r--.github/workflows/security.yml6
-rw-r--r--.github/workflows/zizmor.yml38
5 files changed, 50 insertions, 0 deletions
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index d7b62a4..15ee82a 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -55,6 +55,8 @@ jobs:
PROGMAWEB_TEST_POSTGRES: Host=127.0.0.1;Port=5432;Database=postgres;Username=postgres
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
+ with:
+ persist-credentials: false
- uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5
with:
dotnet-version: 10.0.x
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 5974d6f..1c6d4bd 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -29,6 +29,8 @@ jobs:
build_mode: manual
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
+ with:
+ persist-credentials: false
- uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5
if: matrix.language == 'csharp'
with:
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index af8b85a..d286c93 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -34,6 +34,8 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
with:
version: 11.24.0
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index c277e7b..247f3cc 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -24,6 +24,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
+ with:
+ persist-credentials: false
- uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
dependency-audit:
@@ -31,6 +33,8 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
+ with:
+ persist-credentials: false
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
with:
version: 11.24.0
@@ -47,6 +51,8 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
+ with:
+ persist-credentials: false
- uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5
with:
dotnet-version: 10.0.x
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
new file mode 100644
index 0000000..ee34012
--- /dev/null
+++ b/.github/workflows/zizmor.yml
@@ -0,0 +1,38 @@
+# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
+# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
+
+name: Workflow Security
+
+# zizmor reads the workflows of this repository for what makes a workflow
+# unsafe: a token that is wider than its job needs, text from a pull request
+# that reaches a shell, an action that is not pinned. Its findings are
+# uploaded to code scanning.
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+
+permissions: {}
+
+concurrency:
+ group: zizmor-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ zizmor:
+ name: zizmor
+ runs-on: ubuntu-latest
+ timeout-minutes: 10
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
+ with:
+ persist-credentials: false
+
+ - name: Audit the workflows
+ uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4