diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 14 | ||||
| -rw-r--r-- | .github/zizmor.yml | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c8d1f3..194faf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,19 @@ on: permissions: {} jobs: + lint: + name: Linting + runs-on: ubuntu-slim + permissions: + security-events: write + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + persist-credentials: false + - name: Run zizmor + uses: zizmorcore/zizmor-action@v0.7.1 + test_local: strategy: matrix: @@ -58,6 +71,7 @@ jobs: aur: name: Publish to AUR needs: + - lint - test_local - test_docker runs-on: ubuntu-latest diff --git a/.github/zizmor.yml b/.github/zizmor.yml new file mode 100644 index 0000000..2ef0d8f --- /dev/null +++ b/.github/zizmor.yml @@ -0,0 +1,5 @@ +rules: + unpinned-uses: + config: + policies: + '*': ref-pin |
