mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-06 15:14:45 +09:00
The released-branch checkout in publish-remediation persisted the GITHUB_TOKEN in .git/config, which the workflow policy check rejects and which leaves the token readable by every later step. Check out without persisted credentials and set up the git credential helper inside the publishing step only, removing it when the step exits. The Composer audit jobs also read the released branch's manifest and lockfile explicitly, so the root and tests/ projects are each audited against their own lockfile. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>