Skip to content

Commit c140584

Browse files
authored
Soften the wording on the error message some to stress that this is optional. (#30)
1 parent f5a14de commit c140584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

semgrep-rules/actions/actions_need_pinned_commits.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ rules:
33
languages:
44
- yaml
55
severity: WARNING
6-
message: 'Referencing an action to run by git tag is risky, due to the mutability of git tags. Prefer
7-
to use full git SHAs instead. More information: https://google.github.io/github-team/semgrep-rules/actions-need-pinned-commits.html'
6+
message: 'Referencing an action to run by git tag may be risky, due to the mutability of git tags. If
7+
possible, prefer to use full git SHAs instead. More information: https://google.github.io/github-team/semgrep-rules/actions-need-pinned-commits.html'
88
metadata:
99
category: best-practice
1010
technology:

0 commit comments

Comments
 (0)