mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 14:20:18 +00:00
repair github actions warnings and errors
This commit is contained in:
7
.github/workflows/ci-actions.yaml
vendored
7
.github/workflows/ci-actions.yaml
vendored
@@ -14,8 +14,11 @@ jobs:
|
||||
name: zizmor
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# write is needed to upload security events to GitHub code scanning.
|
||||
security-events: write
|
||||
# we only need to read the contents of the repository.
|
||||
contents: read
|
||||
# we only need to read the action metadata.
|
||||
actions: read
|
||||
steps:
|
||||
- name: harden runner
|
||||
@@ -34,10 +37,10 @@ jobs:
|
||||
- name: zizmor
|
||||
run: uvx zizmor --pedantic --format sarif . > results.sarif
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: upload
|
||||
uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4
|
||||
uses: github/codeql-action/upload-sarif@16140ae1a102900babc80a33c44059580f687047 # v4
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
category: zizmor
|
||||
|
||||
Reference in New Issue
Block a user