mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-12-06 07:14:14 +00:00
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:
@@ -10,6 +10,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
pull-requests: write
|
||||
security-events: write
|
||||
|
||||
Reference in New Issue
Block a user