Skip to content

fix(ci): fix sync-issues schedule trigger and align with dev - #100

Merged
gerchowl merged 2 commits into
mainfrom
bugfix/91-fix-sync-issues-schedule
Feb 20, 2026
Merged

gerchowl merged 2 commits into
mainfrom
bugfix/91-fix-sync-issues-schedule

Conversation

@c-vigo

@c-vigo c-vigo commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fix broken schedule trigger: github.event.inputs.target-branch is null on schedule events, causing TARGET_BRANCH to resolve to refs/heads/ (404 in commit-action). Added || 'dev' fallbacks for all input references.
  • Align workflow with dev branch improvements: pinned action SHAs, ubuntu-22.04, timeout-minutes: 10, top-level permissions: {}, removed stale cache restore-key prefix.
  • Add output-dir and commit-msg as parameterized workflow_dispatch inputs (defaults: docs and chore: sync issues and PRs). Existing callers (release.yml, post-release.yml) are unaffected since they only pass target-branch.
  • Remove stale .github_data/ directory (31 files) superseded by docs/ output directory.

Closes #91

Test plan

  • Trigger workflow manually via workflow_dispatch with default inputs -- verify it checks out dev, syncs to docs/, and commits to dev
  • Trigger with explicit target-branch (e.g. a test branch) -- verify it respects the override
  • Verify release.yml and post-release.yml dispatch calls still work (no input changes needed)
  • Wait for next scheduled run (2:00 AM UTC) to confirm automatic fallback to dev

On schedule events github.event.inputs is null, causing
target-branch to resolve to empty and TARGET_BRANCH to become
refs/heads/ (404). Add || 'dev' fallbacks for all input references.

Also aligns workflow with dev: pinned action SHAs, ubuntu-22.04,
timeout-minutes, top-level permissions block, and adds output-dir
and commit-msg as parameterized workflow_dispatch inputs.

Refs: #91
The sync-issues workflow now writes to docs/ instead of .github_data/.
These 31 files are stale and will never be updated again.

Refs: #91
@c-vigo c-vigo linked an issue Feb 20, 2026 that may be closed by this pull request
5 tasks done
@c-vigo
c-vigo requested a review from gerchowl February 20, 2026 09:30
@c-vigo c-vigo self-assigned this Feb 20, 2026

@gerchowl gerchowl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good!

@gerchowl
gerchowl merged commit 039a752 into main Feb 20, 2026
4 checks passed
@c-vigo
c-vigo deleted the bugfix/91-fix-sync-issues-schedule branch February 20, 2026 10:10
c-vigo added a commit that referenced this pull request Feb 20, 2026
## Summary

- Merge `main` into `dev` to bring in the sync-issues schedule trigger
fix from PR #100
- Remove stale `.github_data/` directory (67 files on dev that were
superseded by `docs/issues/` and `docs/pull-requests/`)
- Update CHANGELOG with the schedule fix and `.github_data` removal
entries under `## Unreleased`

Refs: #91

## Test plan

- [ ] Verify `.github_data/` directory no longer exists on dev after
merge
- [ ] Verify `sync-issues.yml` on dev matches the canonical version from
main (with `|| 'dev'` fallbacks and parameterized inputs)
- [ ] Verify CHANGELOG entries are correctly placed under `### Fixed`
and `### Removed`

Refs: #91
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.

Reduce sync-issues workflow frequency to daily schedule only

2 participants