mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-11-04 10:40:20 +00:00
ci: skip scorecard outside main
This commit is contained in:
1 parent
32b3d2ade1
commit
78af1f9bdd
1 file changed
+2
-1
@@ -174,6 +174,7 @@ jobs:
|
||||
scorecard:
|
||||
name: OpenSSF Scorecard
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -196,4 +197,4 @@ jobs:
|
||||
uses: github/codeql-action/upload-sarif@v4
|
||||
with:
|
||||
sarif_file: scorecard.sarif
|
||||
category: openssf-scorecard
|
||||
category: openssf-scorecard
|
||||
Reference in new issue
Block a user