Skip to content

Commit 8c209be

Browse files
committed
Semgrep action pinning rules.yaml checkout
1 parent 8b10f82 commit 8c209be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/semgrep.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
repository: grafana/security-github-actions
24-
ref: ${{ github.repository == 'grafana/security-github-actions' && (github.head_ref || github.ref_name) || '' }}
24+
ref: ${{ github.repository == 'grafana/security-github-actions' &&
25+
(github.head_ref || github.ref_name) ||
26+
'8b10f82433323c48383277b3abc8c87d26564e63' }}
2527
sparse-checkout: |
2628
semgrep/custom-rules.yaml
2729
semgrep/format-results.sh

0 commit comments

Comments
 (0)