Files
gohoarder/.github/workflows/pr.yaml
T
Bug Fixer ee9df72ee1 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.
2026-12-03 07:07:45 +00:00

24 lines
369 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.27"
runner: self-hosted