ci(pr): grant actions read and stop using the deprecated Requeue

* ci(pr): grant actions read so the shared PR checks start

go-pr.yaml's CodeQL job asks for actions: read. A reusable workflow cannot ask
for more than its caller grants, so the whole PR run failed at startup with no
jobs. Grant the missing scope.

* refactor(controller): use RequeueAfter instead of the deprecated Requeue

controller-runtime deprecates Result.Requeue (SA1019), which the PR checks now
report because they finally start. Requeue after 30 seconds, the interval the
cluster image controller already uses for its max-parallel wait.

---------

Co-authored-by: Bug Fixer <[email protected]>
This commit is contained in:
2026-12-03 07:29:35 +00:00
committed by GitHub
co-authored by Bug Fixer
parent 37e7f71dfb
commit 1056a36dbf
4 changed files with 25 additions and 24 deletions
+1
View File
@@ -10,6 +10,7 @@ concurrency:
cancel-in-progress: true
permissions:
actions: read
contents: read
pull-requests: write
security-events: write