diff options
| author | Leitwolf | 2026-10-10 23:01:00 +0300 |
|---|---|---|
| committer | GitHub | 2026-10-10 23:01:00 +0300 |
| commit | 25ceeecda724a277a174e7cc7e4402cd69c85897 (patch) | |
| tree | d32e7d686643d9e626fdb133f0bdfe408d5cc233 | |
| parent | 111a6175e0a92808ddc2a47088fa9858001eeed9 (diff) | |
| parent | 04622baa18a5d52b60ec0f7ea882896956a91c3a (diff) | |
| download | progmaweb-25ceeecda724a277a174e7cc7e4402cd69c85897.tar.gz | |
Merge pull request #31 from Progmasoft/ci/analysis-tools
Add workflow analysis
| -rw-r--r-- | .github/workflows/backend.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/codeql.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/frontend.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/security.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/zizmor.yml | 38 |
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 4504f65..98b4482 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 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 |