File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 2828
2929 - name : Set up Rust
3030 uses : actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c
31-
31+ - name : Install jq
32+ run : |
33+ sudo apt-get update
34+ sudo apt-get install -y jq
3235 - name : Install Zizmor
3336 run : |
3437 cargo install --locked zizmor
4851 uses : github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89
4952 with :
5053 sarif_file : results.sarif
54+
55+ - name : Fail on Findings
56+ run : |
57+ count="$(
58+ jq '([.runs[]? | (.results // [])[] | select(.level != "note")] | length) // 0' \
59+ results.sarif
60+ )"
61+ echo "Zizmor findings: $count"
62+ test "$count" -eq 0
Original file line number Diff line number Diff line change 33[ ![ CodeQL] ( https://github.com/bckohan/enum-properties/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main )] ( https://github.com/bckohan/enum-properties/actions/workflows/github-code-scanning/codeql?query=branch:main )
44[ ![ Zizmor] ( https://github.com/bckohan/enum-properties/actions/workflows/zizmor.yml/badge.svg?branch=main )] ( https://docs.zizmor.sh/ )
55[ ![ OpenSSF Scorecard] ( https://api.securityscorecards.dev/projects/github.com/bckohan/enum-properties/badge )] ( https://securityscorecards.dev/viewer/?uri=github.com/bckohan/enum-properties )
6+
67## Supported Versions
78
89Only the latest version [ ![ PyPI version] ( https://badge.fury.io/py/enum-properties.svg )] ( https://pypi.python.org/pypi/enum-properties ) is supported.
You can’t perform that action at this time.
0 commit comments