Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# SonarCloud analysis. Auth uses the SONAR_TOKEN repo secret, which expires
# (SonarCloud caps token lifetime at ~1 year). Because this repo changes
# infrequently, the token often expires unnoticed and the next push/PR fails
# here. C/C++ requires this token-based CI analysis, so the token can't be
# dropped. To rotate it:
# 1. Generate a new token at https://sonarcloud.io/account/security
# (type: Project Analysis Token, project: manugarg_pacparser, max expiry).
# 2. Update the repo secret:
# gh secret set SONAR_TOKEN --repo manugarg/pacparser
# (or GitHub UI: Settings > Secrets and variables > Actions > SONAR_TOKEN)
# 3. Re-run this workflow (or push) to confirm the analysis passes.
name: SonarCloud
on:
push:
Expand Down
Loading