mirror of
https://github.com/lukaszraczylo/jobs-manager-operator.git
synced 2026-12-06 12:04:29 +00:00
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 fails at startup with no jobs. Grant the missing read scope. Co-authored-by: Bug Fixer <[email protected]>
24 lines
362 B
YAML
24 lines
362 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- "**"
|
|
- "!main"
|
|
|
|
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
|