com um clique
kuskus-sha-pins
How to update SHA-pinned GitHub Actions in kuskus workflows
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
How to update SHA-pinned GitHub Actions in kuskus workflows
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
How to bump package versions in kuskus — required before merging any PR that touches a package
Opening and reviewing PRs in the kuskus repo
Master branch protection rules, bypass policy, and how to modify when needed
Triage and label issues in the kuskus repo
How automated publishing works in kuskus
Rules for safe development on this live, published extension
| name | Kuskus-SHA-Pins |
| description | How to update SHA-pinned GitHub Actions in kuskus workflows |
All actions in .github/workflows/ are pinned to full commit SHAs for security. When a new action version is released, update the SHA manually.
| Action | SHA | Version |
|---|---|---|
actions/checkout | 11bd71901bbe5b1630ceea73d27597364c9af683 | v4 |
actions/setup-node | 49933ea5288caeca8642d1e84afbd3f7d6820020 | v4 |
phips28/gh-action-bump-version | 2d294fcd028d7ec0de2fa4e94ad7fe04512cc13a | v11.1.2 |
HaaLeo/publish-vscode-extension | f4ece70f329f66686bd71c54b1671353fe320e49 | v1 |
grep -r 'uses:.*@[0-9a-f]\{40\}' .github/workflows/
# Get SHA for a specific tag
gh api repos/actions/checkout/git/refs/tags/v4 --jq '.object.sha'
# If the tag points to a tag object (not a commit), dereference it
gh api repos/actions/checkout/git/refs/tags/v4 --jq '.object.url' \
| xargs gh api --jq '.object.sha'
git ls-remote https://github.com/actions/checkout refs/tags/v4
Workflow files use the pattern:
uses: owner/action@<SHA> # vX.Y.Z
Steps:
OLD_SHA=11bd71901bbe5b1630ceea73d27597364c9af683
NEW_SHA=<new-sha>
sed -i '' "s/$OLD_SHA/$NEW_SHA/g" .github/workflows/*.yml
# v4.2.0)ops/ branch and open a PR| File | Actions pinned |
|---|---|
kusto-language-server-pr-validation.yml | checkout, setup-node |
kusto-language-server-publish.yml | checkout, setup-node, gh-action-bump-version, publish-vscode-extension |
kusto-color-themes-pr-validation.yml | checkout |
kusto-color-themes-publish.yml | checkout, gh-action-bump-version, publish-vscode-extension |
kusto-syntax-highlighting-pr-validation.yml | checkout |
kusto-syntax-highlighting-publish.yml | checkout, gh-action-bump-version, publish-vscode-extension |
kusto-extensions-pack-pr-validation.yml | checkout |
kusto-extensions-pack-publish.yml | checkout, gh-action-bump-version, publish-vscode-extension |