mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-12-05 07:26:57 +00:00
* 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 fails at startup with no jobs. Grant the missing read scope. * fix(goreleaser): use the cask install_steps stanza GoReleaser 2.20 fails goreleaser check when homebrew_casks.hooks.post.install is used: Homebrew deprecated the Ruby postflight stanza in favour of the declarative steps DSL. --------- Co-authored-by: Bug Fixer <[email protected]>
23 lines
343 B
YAML
23 lines
343 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"
|