Compare commits

..
14 Commits
Author SHA1 Message Date
6fc3158a70 ci(pr): grant actions read so the shared PR checks start
* 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]>
2026-12-03 07:47:35 +00:00
github-actions[bot] 8f47c61a9d chore: pin action.yml Docker image to v1.18.61 2026-11-30 03:11:08 +00:00
github-actions[bot]andGitHub 6c5c634808 chore(deps): update module github.com/wi2l/jsondiff to v0.7.2
Automated dependency update. All tests passed.
2026-11-30 03:05:38 +00:00
github-actions[bot] b4fdd5564c chore: pin action.yml Docker image to v1.18.59 2026-11-28 03:09:01 +00:00
github-actions[bot]andGitHub ddb5d2660a chore(deps): update module github.com/tidwall/gjson to v1.20.7
Automated dependency update. All tests passed.
2026-11-28 03:03:36 +00:00
github-actions[bot] aaba2a502e chore: pin action.yml Docker image to v1.18.57 2026-11-25 03:07:45 +00:00
github-actions[bot]andGitHub 3640baf5b3 chore(deps): update module github.com/tidwall/pretty to v1.3.1
Automated dependency update. All tests passed.
2026-11-25 03:03:11 +00:00
github-actions[bot] 2774d960e1 chore: pin action.yml Docker image to v1.18.55 2026-11-24 03:09:42 +00:00
github-actions[bot]andGitHub c5b0dc9319 chore(deps): update module github.com/tidwall/gjson to v1.20.6
Automated dependency update. All tests passed.
2026-11-24 03:03:50 +00:00
github-actions[bot] acc0745f4c chore: pin action.yml Docker image to v1.18.53 2026-11-22 03:08:33 +00:00
github-actions[bot]andGitHub 30459fff78 chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-11-22 03:03:14 +00:00
github-actions[bot] b76ee1736a chore: pin action.yml Docker image to v1.18.51 2026-11-20 03:09:21 +00:00
github-actions[bot]andGitHub 612e090d4f chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-11-20 03:03:29 +00:00
github-actions[bot] 2a3be37269 chore: pin action.yml Docker image to v1.18.49 2026-11-19 03:09:13 +00:00
5 changed files with 29 additions and 24 deletions
+6
View File
@@ -9,6 +9,12 @@ on:
- "**"
- "!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
+4 -5
View File
@@ -82,11 +82,10 @@ homebrew_casks:
license: MIT
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/semver-generator"]
end
# Homebrew deprecated the Ruby postflight stanza; casks only install on
# macOS, so the old OS.mac? guard is no longer needed.
install_steps: |
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/semver-generator"]
signs:
- cmd: cosign
+1 -1
View File
@@ -36,4 +36,4 @@ outputs:
description: "Calculated semantic version"
runs:
using: "docker"
image: "docker://ghcr.io/lukaszraczylo/semver-generator:1.18.47"
image: "docker://ghcr.io/lukaszraczylo/semver-generator:1.18.61"
+6 -6
View File
@@ -35,21 +35,21 @@ require (
github.com/pjbgf/sha1cd v0.7.0 // indirect
github.com/rs/zerolog v1.35.1 // indirect
github.com/sagikazarmark/locafero v0.12.0 // indirect
github.com/sergi/go-diff v1.4.4 // indirect
github.com/sergi/go-diff v1.4.5 // indirect
github.com/skeema/knownhosts v1.3.3 // indirect
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.1.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/tidwall/gjson v1.20.4 // indirect
github.com/tidwall/gjson v1.20.7 // indirect
github.com/tidwall/match v1.2.0 // indirect
github.com/tidwall/pretty v1.3.0 // indirect
github.com/tidwall/sjson v1.2.9 // indirect
github.com/wI2L/jsondiff v0.7.1 // indirect
github.com/tidwall/pretty v1.3.1 // indirect
github.com/tidwall/sjson v1.2.11 // indirect
github.com/wI2L/jsondiff v0.7.2 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.yaml.in/yaml/v3 v3.0.6 // indirect
golang.org/x/crypto v0.59.0 // indirect
golang.org/x/net v0.62.0 // indirect
golang.org/x/net v0.63.0 // indirect
golang.org/x/sys v0.50.0 // indirect
golang.org/x/text v0.44.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
+12 -12
View File
@@ -85,8 +85,8 @@ github.com/rs/zerolog v1.35.1/go.mod h1:EjML9kdfa/RMA7h/6z6pYmq1ykOuA8/mjWaEvGI+
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sagikazarmark/locafero v0.12.0 h1:/NQhBAkUb4+fH1jivKHWusDYFjMOOKU88eegjfxfHb4=
github.com/sagikazarmark/locafero v0.12.0/go.mod h1:sZh36u/YSZ918v0Io+U9ogLYQJ9tLLBmM4eneO6WwsI=
github.com/sergi/go-diff v1.4.4 h1:hJ31M2v+KXD+fDxKjUpr9qXthRE35QsPNono0FjSTCg=
github.com/sergi/go-diff v1.4.4/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
github.com/sergi/go-diff v1.4.5 h1:3LvhZn2aCAWagLwIhga3BZiEZ82j5+oQ0vKDwkhjHCI=
github.com/sergi/go-diff v1.4.5/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/skeema/knownhosts v1.3.3 h1:tiFvsjIW+xqP5cqVsod7atn/xm57OY6v9KwxB1xWUyA=
github.com/skeema/knownhosts v1.3.3/go.mod h1:2y0ntYxeqSNxOw5pfqSVDcRyBt2FqfxhzNDPoKz/ifQ=
@@ -108,16 +108,16 @@ github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWD
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/tidwall/gjson v1.20.4 h1:3A/Gmx6kyM902v2nepualaq7aYIGhF0eykJBTiIxryw=
github.com/tidwall/gjson v1.20.4/go.mod h1:jV1Xkr7LRLVFhesDFU/nInoQ+MjVlnuqkUreTWMveUo=
github.com/tidwall/gjson v1.20.7 h1:gD5awu3KIaG52afpLBeHqeepkCT1ZsUrUQlQQNX9npk=
github.com/tidwall/gjson v1.20.7/go.mod h1:jV1Xkr7LRLVFhesDFU/nInoQ+MjVlnuqkUreTWMveUo=
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
github.com/tidwall/match v1.2.0/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
github.com/tidwall/pretty v1.3.0 h1:DZmEzADnMIbThFXXslDgq9C0LCC/xzMrONm7iM77RM0=
github.com/tidwall/pretty v1.3.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
github.com/tidwall/sjson v1.2.9 h1:se9OUWsi+PBE8QMQyx7jNLVBzyNH+uaq48xg8aCaKQY=
github.com/tidwall/sjson v1.2.9/go.mod h1:w7Ke7FEphlLcBn/2H8MtgkIN8V32CUPD+8ZoG2dFTrc=
github.com/wI2L/jsondiff v0.7.1 h1:Fg9+yj+1/x3UtPBJhR91TKEzRkrEEWcAcLbg9dzEaNM=
github.com/wI2L/jsondiff v0.7.1/go.mod h1:yAt2W7U6Jd4HK0RA8DGSGk0zDtfEtOUUJVnH/xICpjo=
github.com/tidwall/pretty v1.3.1 h1:TBuZXNmU9DsDuXrAiC6bro5cHyfNTkcEkyJSbX7tsxs=
github.com/tidwall/pretty v1.3.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
github.com/tidwall/sjson v1.2.11 h1:EfyNh8E7a80DSypwB4gFRqvaE33cn9ttybsQMs3JEkg=
github.com/tidwall/sjson v1.2.11/go.mod h1:9xJoexa2hn8AjE30n6an+6I27xHVWQ2+LRV+Nlc9gXg=
github.com/wI2L/jsondiff v0.7.2 h1:N2XQGmLfzWsGHtxTD39w0yk3apY79/ELkpwFma6xyzo=
github.com/wI2L/jsondiff v0.7.2/go.mod h1:Zdt4N1mCiYbmXT6GYpUbea4MgkaVrHEAlODOZNgEYWU=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
@@ -138,8 +138,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.62.0 h1:18ELalfM5+XNRwzM2nYqXsZQ9ByS1uhj2O/U7+5jqRY=
golang.org/x/net v0.62.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI=
golang.org/x/net v0.63.0 h1:HCoTmNh9EpD1PpK8gBNFY4gcTY4N+KQEO8ylfIKqFJ0=
golang.org/x/net v0.63.0/go.mod h1:15JLg3IX1bLjHK264EZQEbIpTiR/KVLuo9CTRWd0pig=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=