Compare commits

...
13 Commits
Author SHA1 Message Date
github-actions[bot]andGitHub 5fee31c0a2 chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-12-04 03:07:00 +00:00
c567ce2221 ci(release): retry the rolling tag push
After pushing the pin commit to main, GitHub rejected the immediate v1 tag
force-push with "missing necessary objects", so the release run failed and the
rolling tag stayed on the previous commit. Retry a few times before failing.

Co-authored-by: Bug Fixer <[email protected]>
2026-12-03 19:06:27 +00:00
github-actions[bot] c71b0ad531 chore: pin action.yml Docker image to v1.18.63 2026-12-03 07:51:57 +00:00
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
6 changed files with 40 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
+14 -1
View File
@@ -68,5 +68,18 @@ jobs:
# commit behind, pinning the PREVIOUS image.
# "v1" must match the release job's rolling-release-tag input.
git tag -f v1 HEAD
git push -f origin refs/tags/v1
# GitHub can reject the tag push for a moment after main was
# updated ("missing necessary objects"), so retry before failing.
pushed=false
for _ in 1 2 3 4 5; do
if git push -f origin refs/tags/v1; then
pushed=true
break
fi
sleep 5
done
if [ "$pushed" != true ]; then
echo "::error::Could not move the v1 tag after 5 attempts."
exit 1
fi
fi
+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.51"
image: "docker://ghcr.io/lukaszraczylo/semver-generator:1.18.63"
+5 -5
View File
@@ -3,7 +3,7 @@ module github.com/lukaszraczylo/semver-generator
go 1.26.0
require (
github.com/go-git/go-git/v5 v5.19.3
github.com/go-git/go-git/v5 v5.19.4
github.com/lithammer/fuzzysearch v1.1.8
github.com/lukaszraczylo/graphql-monitoring-proxy v1.0.10
github.com/lukaszraczylo/oss-telemetry v0.2.5
@@ -32,7 +32,7 @@ require (
github.com/mattn/go-colorable v0.1.16 // indirect
github.com/mattn/go-isatty v0.0.24 // indirect
github.com/pelletier/go-toml/v2 v2.4.3 // indirect
github.com/pjbgf/sha1cd v0.7.0 // indirect
github.com/pjbgf/sha1cd v0.8.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.5 // indirect
@@ -41,11 +41,11 @@ require (
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.5 // 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/pretty v1.3.1 // indirect
github.com/tidwall/sjson v1.2.11 // indirect
github.com/wI2L/jsondiff v0.7.1 // 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
+10 -12
View File
@@ -18,8 +18,6 @@ github.com/cyphar/filepath-securejoin v0.7.0 h1:s0Y3ITPy6sQn5xt54DuYvTF8hu134ooY
github.com/cyphar/filepath-securejoin v0.7.0/go.mod h1:ymLGms/u3BYaviIiuKFnUx8EkQEZeK6cInNoAPJA3o4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/elazarl/goproxy v1.7.2 h1:Y2o6urb7Eule09PjlhQRGNsqRfPmYI3KKQLFpCAV3+o=
github.com/elazarl/goproxy v1.7.2/go.mod h1:82vkLNir0ALaW14Rc399OTTjyNREgmdL2cVoIbS6XaE=
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
@@ -34,8 +32,8 @@ github.com/go-git/go-billy/v5 v5.9.2 h1:OXFSRyz4g20upsGDJgQG9Bak1l/ZEv8GHVYB52O7
github.com/go-git/go-billy/v5 v5.9.2/go.mod h1:ExsU+jcGwXTBOnyilvAnEM1wug1IxHr4yP2ZXsNRtV0=
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
github.com/go-git/go-git/v5 v5.19.3 h1:qHttbZ+Am7wEjdTpR1XMQ4rl42FK9SIXzZ4o9x7s6M4=
github.com/go-git/go-git/v5 v5.19.3/go.mod h1:Ye4C8dVigkqrv9UsB4NMdSLV4yAIkLiIhW61gcOyhl4=
github.com/go-git/go-git/v5 v5.19.4 h1:JKBN9nr1ClWVr7fB3aCURndLFpu9T1OLZkcA4p3EIfk=
github.com/go-git/go-git/v5 v5.19.4/go.mod h1:LtVJbKV67UtZ9TFhQb44cX2K62GLc9wX9a5E/jJwJ0g=
github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro=
github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/goccy/go-json v0.12.0 h1:pD+oWouAiz4yruwXIt/iT+lOMeyhr1aTtxzaMP/RgVI=
@@ -73,8 +71,8 @@ github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k=
github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY=
github.com/pelletier/go-toml/v2 v2.4.3 h1:GTRvJQutkOSftxIFD5xw9aepkYNuPWmVJpffdDPYVpY=
github.com/pelletier/go-toml/v2 v2.4.3/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
github.com/pjbgf/sha1cd v0.7.0 h1:ZRNPKHj+gfkLBf0KJv/p1Hmz+7bqCT5o311YX0nq+DA=
github.com/pjbgf/sha1cd v0.7.0/go.mod h1:pKR5Li+qTCo+ebqITZfwPlJGoCFCvSO00qxjbNtTUFQ=
github.com/pjbgf/sha1cd v0.8.0 h1:DaMqV3j5helL3+K5evP+0WuAc/FFrzZJhOkSKjFrkBU=
github.com/pjbgf/sha1cd v0.8.0/go.mod h1:pKR5Li+qTCo+ebqITZfwPlJGoCFCvSO00qxjbNtTUFQ=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
@@ -108,16 +106,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.5 h1:OV4dBDripDl7ZK0GJIxWe1pn2zD6VB8vX+6hq6fLmuw=
github.com/tidwall/gjson v1.20.5/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/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.1 h1:Fg9+yj+1/x3UtPBJhR91TKEzRkrEEWcAcLbg9dzEaNM=
github.com/wI2L/jsondiff v0.7.1/go.mod h1:yAt2W7U6Jd4HK0RA8DGSGk0zDtfEtOUUJVnH/xICpjo=
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=