Compare commits

...

2 Commits

Author SHA1 Message Date
23b9d820d1 Use tagged shellcheckout v0.0.1
All checks were successful
Self Test / test (push) Successful in 10s
Self Test / release-test (push) Successful in 25s
2025-06-07 09:43:55 -04:00
9f83f0f384 Use the proper ref instead of always assuming it's a 'head' (might be a 'tag')
Some checks failed
Self Test / test (push) Failing after 3s
Self Test / release-test (push) Failing after 6s
2025-06-07 09:26:18 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ jobs:
GOCACHE: /go-cache-volume/build-cache
steps:
- name: checkout
uses: https://${{ secrets.GITHUB_TOKEN }}:@git.offline-twitter.com/offline-labs/shellcheckout@master
uses: https://${{ secrets.GITHUB_TOKEN }}:@git.offline-twitter.com/offline-labs/shellcheckout@v0.0.1
- name: debug
run: |

View File

@ -59,7 +59,7 @@ func main() {
}
err = w.Checkout(&git.CheckoutOptions{
Branch: plumbing.ReferenceName("refs/heads/" + refName),
Branch: plumbing.ReferenceName(ref),
})
if err != nil {
log.Fatal(err)