Repository navigation
fix: sync workflow safe defaults and configurable inputs for post-release - #54
Merged
Merged
Conversation
- Updated CHANGELOG to link version tag 0.2.2 Refs: #52
- Added `output-dir` and `commit-msg` inputs to allow customization of the output directory and commit message for synced issues and PRs. - Updated the workflow to use default values for `target-branch` and `output-dir` if not provided. - Improved handling of the `GH_TOKEN` to ensure proper authentication during commits. - Updated CHANGELOG Refs: #52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Post-release hardening for the sync-issues workflow: add configurable
output-dirandcommit-msginputs, use safe defaults (target-branch || 'dev', commit message input), pin the workflow to action ref v0.2.2 instead of local checkout, and simplify the cache-delete step (usegithub.token; stop passingforce-updateto the action, use onlyupdated-sincewhen applicable).Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/workflows/sync-issues.ymloutput-dir(defaultdocs),commit-msg(defaultchore: sync issues and PRs)target-branch || 'dev'andcommit-msgso defaults apply when inputs are omittedgithub.token;force-updateno longer passed to action (onlyupdated-sinceused when provided)CHANGELOG.mdChangelog Entry
Added
output-dir(defaultdocs) andcommit-msg(defaultchore: sync issues and PRs) for dispatch runsChanged
target-branch || 'dev'andcommit-msginput so defaults apply when inputs are omittedgithub.token;force-updateno longer passed to action (onlyupdated-sinceused)Testing
npm run test:all)N/A
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #52