Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ permissions: {}

jobs:
hk:
uses: hugoh/go-tools/.github/workflows/go-hk.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b # v1.1.0
uses: hugoh/go-tools/.github/workflows/go-hk.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b
permissions:
contents: read

goci:
uses: hugoh/go-tools/.github/workflows/go-ci.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b # v1.1.0
uses: hugoh/go-tools/.github/workflows/go-ci.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b
permissions:
contents: read
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

release:
needs: [hk, goci]
uses: hugoh/go-tools/.github/workflows/go-release.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b # v1.1.0
uses: hugoh/go-tools/.github/workflows/go-release.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b
permissions:
contents: write
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions: {}

jobs:
update:
uses: hugoh/go-tools/.github/workflows/go-template-update.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b # v1.1.0
uses: hugoh/go-tools/.github/workflows/go-template-update.yml@310e3de60bb4ac5daaff871d3b34ab6cc1f7562b
permissions:
contents: write
pull-requests: write
Expand Down
10 changes: 9 additions & 1 deletion hk.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ import "package://github.com/jdx/hk/releases/download/v1.49.0/hk@1.49.0#/Builtin
local Common = new Group {
steps {
["actionlint"] = Builtins.actionlint
["pinact"] = Builtins.pinact
// hugoh/go-tools' own self-referential workflow pins are rendered by the
// go-tools template using the raw commit hash with no version comment;
// excluding them from pinact keeps that comment-less form stable so
// copier update's 3-way merge never has to reconcile a pinact-added
// comment against the template's un-commented rendering
["pinact"] = (Builtins.pinact) {
check_diff = "pinact run --verify --check --exclude 'hugoh/go-tools.*' {{ files }}"
fix = "pinact run --verify --exclude 'hugoh/go-tools.*' {{ files }}"
}
["conflicts"] = Builtins.check_merge_conflict
["trailing-ws"] = Builtins.trailing_whitespace
["line-endings"] = Builtins.mixed_line_ending
Expand Down
Loading