Skip to content

Commit 68cf628

Browse files
devantlerclaude
andcommitted
ci: release the git-commit skill hold through an opt-in unpin dispatch
Upstream repaired git-commit in github/awesome-copilot#6261: it no longer unstages files during a merge, cherry-pick or revert, and falls back to git diff --check plus git add on Git older than 2.56. That ends the hold from #5224, so the updater declares no pin. Removing the pin leaves the installed skill's pinned metadata in place, so the updater gains a default-off unpin dispatch input for a one-time release. The scheduled run never sets it. Refs: devantler-tech/agent-plugins#598 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7a7e5cc commit 68cf628

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

‎.github/workflows/update-skills.yaml‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
name: Update Agent Skills
33
"on":
44
workflow_dispatch:
5+
inputs:
6+
unpin:
7+
description: >-
8+
Release every pinned skill (gh skill update --unpin). Use once after removing a
9+
hold from `pins`; the scheduled run never sets it.
10+
type: boolean
11+
default: false
512
schedule:
613
- cron: "0 6 * * *" # Daily at 06:00 UTC
714

@@ -30,11 +37,12 @@ jobs:
3037
# Marking them internal after every update keeps `npx skills add devantler-tech/platform`
3138
# from offering them (devantler-tech/ksail#6221).
3239
mark-internal: true
33-
# Hold git-commit at the upstream commit we run today: the newer upstream text can lose a
34-
# merge-conflict resolution and needs a Git version our hosts lack. Remove the pin when
35-
# devantler-tech/platform#5224 is resolved upstream.
36-
pins: |
37-
.agents/skills/git-commit e24be77e6f203409cf99ab7d5a67e1540cb386d3 # devantler-tech/platform#5224
40+
# No skill is held. To hold one at a reviewed upstream commit, add a `pins:` block naming
41+
# its tracking issue. Removing that block leaves the skill's pinned metadata in place, so
42+
# release it with one dispatch that sets `unpin`; the updater refuses both together.
43+
# The git-commit hold (devantler-tech/platform#5224) ended once upstream fixed it in
44+
# github/awesome-copilot#6261 (devantler-tech/agent-plugins#598).
45+
unpin: ${{ inputs.unpin == true }}
3846
# Create the update PR with a GitHub App token so it triggers this
3947
# repo's required CI (a PR opened with GITHUB_TOKEN does not), instead
4048
# of landing permanently blocked on missing required checks.

0 commit comments

Comments
 (0)