Skip to content

ci: add secure tagged release workflow - #12

Merged
cbangera2 merged 1 commit into
mainfrom
agent/add-release-workflow
Jul 22, 2026
Merged

ci: add secure tagged release workflow#12
cbangera2 merged 1 commit into
mainfrom
agent/add-release-workflow

Conversation

@cbangera2

Copy link
Copy Markdown
Owner

What changed

  • adds a release workflow triggered by version tags such as v2.1
  • verifies the tag exactly matches the version in manifest.json
  • runs syntax checks and the full test suite before release
  • creates and verifies a minimal extension ZIP plus SHA-256 checksum
  • generates a GitHub artifact provenance attestation
  • publishes the ZIP and checksum as a GitHub Release with generated notes

Security

  • PR validation uses read-only repository permissions
  • release and attestation write permissions exist only in the tag-only publish job
  • all official GitHub actions are pinned to immutable commit SHAs
  • checkout credentials are not persisted
  • tag names are validated before being used in artifact names
  • no long-lived publishing credentials or repository secrets are required

Validation

  • workflow YAML parsed locally
  • node --check passed for all extension scripts
  • node --test passed (6 tests)
  • v2.1 was verified against manifest version 2.1
  • the release archive was created and passed unzip -t

After this PR merges, pushing tag v2.1 will publish the v2.1 GitHub Release.

@cbangera2
cbangera2 force-pushed the agent/add-release-workflow branch from 46658e1 to 6bae233 Compare July 22, 2026 05:45
@cbangera2 cbangera2 changed the title Add secure tagged release workflow ci: add secure tagged release workflow Jul 22, 2026
@cbangera2
cbangera2 marked this pull request as ready for review July 22, 2026 05:50
@cbangera2
cbangera2 merged commit 92d175d into main Jul 22, 2026
6 of 8 checks passed
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