Files
discord-github-ticket-relay/sonar-project.properties
Dylan M. Taylor abcff955d3 ci: lock workflow actions through an actions.lock lockfile
Mutable action tags are a supply-chain risk: a moved tag runs different code
without a diff. Every workflow action is now pinned through
.github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync
or tampered one fails instead of running.
2026-11-12 07:19:04 -05:00

18 lines
930 B
Properties

sonar.projectKey=storytold_discord-github-ticket-relay
sonar.organization=storytold
sonar.sources=src
sonar.tests=test
# Written by `npm run test:coverage`, which the SonarCloud workflow runs (node-coverage-script).
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# 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/**