Files
craft-common-actions/sonar-project.properties
Dylan M. Taylor ee5c3e4a5e ci(sonar): ignore S7637 where the lockfile pins the actions
The rule wants an inline commit SHA per action and does not read
actions.lock, so it flags every tag ref the lockfile migration created.
Sonar tracks lockfile support; until it lands, scope the rule off for
workflow files, which the lockfile now pins.
2026-11-12 07:13:28 -05:00

13 lines
818 B
Properties

sonar.projectKey=storytold_craft-common-actions
sonar.organization=storytold
sonar.coverage.exclusions=**/actions/**,**/tests/**,**/.github/**,**/*.sh,**/*.py
# githubactions:S7637 asks for every action to be pinned to a commit SHA. A workflow covered by
# .github/workflows/actions.lock runs the commit the lockfile records, so its tag refs are pinned
# and the lockfile covers the actions those actions use too. Sonar does not read lockfiles yet, so
# the rule flags the tag refs anyway:
# https://community.sonarsource.com/t/githubactions-s7637-false-positives-for-actions-pinned-through-native-actions-lock/190814
sonar.issue.ignore.multicriteria=gha-lockfile
sonar.issue.ignore.multicriteria.gha-lockfile.ruleKey=githubactions:S7637
sonar.issue.ignore.multicriteria.gha-lockfile.resourceKey=.github/workflows/**