Skip to content

feat(actions): centrally-pinned upload/download-artifact wrappers - #39

Merged
domengabrovsek merged 1 commit into
mainfrom
feat/artifact-wrappers
Aug 9, 2026
Merged

feat(actions): centrally-pinned upload/download-artifact wrappers#39
domengabrovsek merged 1 commit into
mainfrom
feat/artifact-wrappers

Conversation

@domengabrovsek

Copy link
Copy Markdown
Owner

What

tax-calculator uses actions/upload-artifact@v4 and actions/download-artifact@v4 directly - the last common actions the hub did not yet centralize. This wraps both, following the existing wrapper pattern, so their SHA lives in one place and every repo tracks it via @main.

Changes

  • New composite wrappers, each SHA-pinned to the latest release and re-exporting the upstream outputs:
    • .github/actions/upload-artifact -> actions/upload-artifact v7.0.1 (outputs: artifact-id, artifact-url, artifact-digest)
    • .github/actions/download-artifact -> actions/download-artifact v8.0.1 (output: download-path)
  • Docs under docs/actions/ for both, plus README table entries.

Notes

  • The hub pins latest (v7 / v8); repos currently on v4 jump versions when they adopt the wrapper. Artifact v5+ carried breaking changes (immutable artifacts, no re-upload to the same name), so adoption is a tested migration per repo - flagged in each doc.
  • Separately confirmed the telegram-notify composite action is in use by tax-calculator, so it stays.
  • Consumer migration (pointing tax-calculator at these wrappers) is not in this PR.

Verification

  • actionlint passes clean; both action.yml parse as valid YAML; all doc links resolve.

tax-calculator uses actions/upload-artifact and actions/download-artifact
raw, the last common actions the hub did not centralize. Wrap both so the
SHA lives in one place and consumers track it via @main.

- add upload-artifact (v7.0.1) and download-artifact (v8.0.1) composites,
  re-exporting the upstream outputs (artifact-id/url/digest, download-path)
- add docs/actions docs for both and list them in the README table
@domengabrovsek
domengabrovsek merged commit 6106eb7 into main Aug 9, 2026
10 checks passed
@domengabrovsek
domengabrovsek deleted the feat/artifact-wrappers branch August 9, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant