fix(ci): repair develop's workflow policy test and page crawl log check (#8687)

* fix(ci): drop the publisher's obsolete checkout credential allowance

#8648 scoped the remediation publisher's git credentials to its push step,
so its checkouts now set persist-credentials: false and no longer need the
CHECKOUT_WRITE_WORKFLOWS entry #8668 added. The rejection test removed the
publisher from that list and expected a violation, which can no longer
occur, so it failed on develop and on every branch that merged develop.

Remove the stale entry, assert the publisher passes without it, and
exercise the rejection path with a workflow that still keeps checkout
credentials.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* fix(ci): ignore the audit log purge note in the page crawl log check

Daily maintenance logs "NOTE: Purged N Audit Log Records" when the
poller runs at its scheduled time, so locked integration fails whenever a
run crosses that time. Filter the note like the other routine maintenance
lines.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
This commit is contained in:
Thomas Vincent authored and GitHub committed 2026-11-09 21:24:57 -05:00
1 parent 50111c475c
commit 4c2f00a987
3 files changed
+16 -9

No files matched your search

-1
View File
@@ -17,7 +17,6 @@ DEFAULT_WORKFLOW_GLOB = ".github/workflows/*"
DEFAULT_ACTION_GLOB = ".github/actions/**/action.y*ml"
ALLOWED_RUNNERS = {"ubuntu-24.04", "ubuntu-slim"}
CHECKOUT_WRITE_WORKFLOWS = {
".github/workflows/released-dependency-audit.yml",
".github/workflows/security-baseline-refresh.yml",
".github/workflows/update-contributors.yml",
}