Skip to content

feat: add linear-release-sync action#59

Open
sydorovdmytro wants to merge 1 commit intomainfrom
devops-607/add-linear-release-sync
Open

feat: add linear-release-sync action#59
sydorovdmytro wants to merge 1 commit intomainfrom
devops-607/add-linear-release-sync

Conversation

@sydorovdmytro
Copy link
Copy Markdown
Collaborator

@sydorovdmytro sydorovdmytro commented Mar 31, 2026

Summary

  • Add linear-release-sync composite action that syncs Linear issues to "Released" state when a GitHub release is published
  • Finds PRs between releases, extracts Linear issue IDs from PR descriptions and branch names, and moves matching issues from "Ready for Release" to "Released"
  • Supports optional filtering by Linear team and project names (comma-separated lists)
  • Includes SHA-256 checksum verification for binary downloads, comprehensive unit tests across all packages, release and test CI workflows, and Renovate dependency grouping

Review fixes applied

  • Added SHA-256 checksum verification for downloaded binary (supply-chain hardening)
  • Fixed os.Killsyscall.SIGTERM (uncatchable signal)
  • Fixed nil-error wrapping in GraphQL mutations
  • Moved logger from context.WithValue to LinearClient field (panic safety)
  • Removed unused PageSize constant
  • Added validation for required repo flag (previously silently failed on empty value)
  • Disabled Go cache in release workflow (zizmor cache-poisoning finding)
  • Bumped Go version from 1.22.5 to 1.26
  • Renamed misleading integration_test.go to flow_test.go
  • Added unit tests for changelog/pull-requests and changelog/releases packages

Test plan

  • make test-linear-release-sync passes (65 tests)
  • make build-linear-release-sync builds successfully
  • make lint clean (actionlint + zizmor)
  • CI workflow runs on PR
  • Verify release workflow with dry-run after merge

Related to DEVOPS-607

@sydorovdmytro sydorovdmytro force-pushed the devops-607/add-linear-release-sync branch from e9d3bcf to 09f78b1 Compare March 31, 2026 11:08
@sydorovdmytro sydorovdmytro requested a review from Piotr1215 March 31, 2026 11:09
@sydorovdmytro sydorovdmytro force-pushed the devops-607/add-linear-release-sync branch from 09f78b1 to 0b384fe Compare March 31, 2026 11:25
Syncs Linear issues to "Released" state when a GitHub release is
published. Finds PRs between releases, extracts Linear issue IDs,
and moves matching issues from "Ready for Release" to "Released".

Includes SHA-256 checksum verification for binary downloads,
comprehensive unit tests across all packages, release and test
CI workflows, and Renovate dependency grouping.
@sydorovdmytro sydorovdmytro force-pushed the devops-607/add-linear-release-sync branch from 0b384fe to 33039cc Compare March 31, 2026 11:33
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