Skip to content

Releases: vig-os/sync-issues-action

v0.2.2

26 Feb 09:19
Immutable release. Only release title and notes can be modified.
bad447d

Choose a tag to compare

Added

  • Exported shiftHeadersToMinLevel utility function for independent unit testing
  • Sync sub-issue relationships into frontmatter (#8, #15)
    • Fetch parent and subIssues via GraphQL batch query for all synced issues
    • New sync-sub-issues action input to control sub-issue syncing (default: true)
    • Replace hardcoded relationship: none with dynamic parent and children fields
    • Graceful degradation: emits info message and falls back to none if the sub-issues API is unavailable
  • CI/CD pipeline (#13)
    • CI workflow with lint, build-dist verification, and test jobs
    • Integration test suite as a reusable workflow with parallel jobs covering issues-only, PRs-only, force-update, include-closed, sub-issues, updated-since, state-file, and default-mode scenarios
    • Three-phase release pipeline: prepare-release (branch + draft PR), release (tag + GitHub Release with provenance attestation), and post-release (dev sync + CHANGELOG reset)
    • setup-env and build-dist composite actions for consistent environment setup
    • CHANGELOG management CLI (prepare_changelog.py) for automated release note preparation
    • Dependabot configuration for automated dependency updates
    • CODEOWNERS file for automated review assignment
    • CodeQL analysis workflow for automated security vulnerability scanning
    • Scorecard workflow for ongoing supply-chain security assessments
    • Security scan workflow for continuous security monitoring

Changed

  • Sync-issues workflow uses local action checkout (#13)
    • Replaced pinned remote ref with uses: ./ so the workflow always tests the current branch's code
  • Node.js version pinned via .nvmrc (#13)
    • .nvmrc is the single source of truth; setup-env and devcontainer read from it

Fixed

  • Corrected heading hierarchy in formatPRAsMarkdown: promoted the Comments section header from ## to # and individual comment entry headers from ### to ##
  • Release workflow avoids immutable-release upload failures
    • Generates checksums-sha256.txt before creating the GitHub release and attaches it during gh release create instead of uploading afterward
  • Release workflow: floating-tag updates and rollback (#38)
    • Floating-tag updates (vX, vX.Y) run in a separate job after the release job succeeds; main rollback no longer restores floating tags
    • Resolve floating tags via exact "Get a reference" API (git/ref/tags/$TAG) instead of git/matching-refs to avoid wrong-SHA from prefix matches
    • New job captures current SHAs, updates tags, and on failure restores from captured SHAs (self-contained)
  • --force-update does not re-sync issues (only PRs) (#10)
    • Added force-update action input that bypasses the hasContentChanged content-comparison gate
    • When active, all fetched items are re-written (with updated synced: frontmatter) even if body content is unchanged
    • Updated sync-issues.yml workflow to pass the force-update dispatch input to the action
  • Added shiftHeadersToMinLevel helper to re-level headers inside comment bodies so the shallowest header maps to ###, preventing collisions with outer document structure
  • Fixed default GITHUB_REPOSITORY in test-local.sh from non-existent vig-os/actions to vig-os/sync-issues-action
  • Removed broken fallback command in test-local.sh that passed a file path where a directory is required

Security

  • CodeQL and OpenSSF Scorecard analysis workflows (#13)
    • CodeQL scans JavaScript/TypeScript on push and PR
    • Scorecard publishes results to the Security tab via SARIF

v0.1.1

19 Dec 08:06
Immutable release. Only release title and notes can be modified.
b4cdf37

Choose a tag to compare

Release v0.1.1

Release Date: December 19, 2025

Critical Bug Fix

This release fixes a critical issue that prevented the GitHub Action from executing properly.

Fixed

  • Missing build artifacts: Fixed missing dist/index.js file in published releases. The action now correctly includes all compiled code, ensuring GitHub Actions can find and execute the action.
  • Updated .gitignore to allow distribution files to be committed to the repository.

Enhancements

Developer Experience Improvements

  • TypeScript definitions: Added comprehensive TypeScript definition files (.d.ts) for better IDE support and type checking when using this action in TypeScript projects.
  • Source maps: Included source maps for improved debugging experience.
  • License compliance: Added licenses.txt file with all dependency licenses in the distribution folder.

Dependencies

  • Updated vig-os/commit-action from v0.1.0 to v0.1.1 in internal workflows.

Installation

Update your workflow to use the latest version:

- name: Sync Issues and PRs
  uses: vig-os/[email protected]

Migration

No migration required. This is a patch release that fixes a critical bug. All existing workflows using v0.1.0 should update to v0.1.1 to ensure the action executes correctly.

Full Changelog

For detailed changes, see the CHANGELOG.md.


Full Changelog: v0.1.0...v0.1.1

v0.1.0

19 Dec 07:17
Immutable release. Only release title and notes can be modified.
9c638c3

Choose a tag to compare

Initial Release: Sync Issues and PRs Action v0.1.0

Overview

Automatically sync all issues and pull requests from your repository to organized markdown files. Suitable for documentation, backup, and offline access.

Key Features

  • Syncs issues and PRs with all comments, conversations, and metadata
  • Groups PR review threads with diff snippets
  • Supports GitHub tokens and GitHub App authentication
  • Incremental sync with timestamp filtering
  • State persistence for efficient workflow runs

Quick Start

- name: Sync Issues and PRs
  uses: vig-os/[email protected]

What's Included

  • Complete sync of issues and pull requests
  • All comments and conversations preserved
  • PR review threads with diff snippets
  • Comprehensive metadata (labels, dates, authors, state)
  • Flexible authentication options
  • Configurable output directory
  • Action outputs for workflow integration

Example Usage

- name: Sync Issues and PRs
  uses: vig-os/[email protected]
  with:
    output-dir: 'docs/issues'
    state-file: '.github/sync-state.txt'

For complete documentation, visit the repository.