Files
kubernetes-images-sync-oper…/.github/workflows/ci.yaml
T
1056a36dbf 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]>
2026-12-03 07:29:35 +00:00

24 lines
402 B
YAML

name: Pull Request
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: read
contents: read
pull-requests: write
security-events: write
jobs:
pr-checks:
uses: lukaszraczylo/shared-actions/.github/workflows/go-pr.yaml@main
with:
go-version: "1.26"
secrets: inherit