Releases: benc-uk/workflow-dispatch
Releases · benc-uk/workflow-dispatch
v1.3.2
What's changed since v1.3.1
Added
- New
wait-interval-secondsinput to control how often the action polls whenwait-for-completion: true. (#98)
Fixed
- Pass
X-GitHub-Api-Version: 2026-03-10on the dispatch and run-status REST calls. Removes the GitHub REST API deprecation warning emitted on every run and makes behaviour deterministic against future default-version changes. (#103, fixes #99)
Docs
- Document the existing
sync-statusinput. (#93) - Document
wait-interval-secondsin the README. (#100) - Fix typo in README for the
wait-for-completionoption. (#101)
Notes
- No breaking changes. No changes to
action.yamlinputs/outputs beyond what was already in v1.3.1. - The floating
v1andv1.3tags have been moved to point atv1.3.2.
Full changelog: v1.3.1...v1.3.2
v1.3.1
Features
- New
sync-statusinput — when used withwait-for-completion, mirrors the triggered workflow's conclusion (failure/cancelled) back to this action's status (#84) - Alternate
refdefault for PRs — automatically usesgithub.head_refwhen running in a pull request context, avoidingrefs/pull/.../mergeerrors (#79)
Bug Fixes
- Safer JSON input parsing — invalid
inputsJSON now logs an error instead of throwing an unhandled exception (#84) - Improved timeout handling — timeout now sets a distinct
timed_outstatus and emits a warning instead of silently breaking (#84) - Improved warning message formatting for workflow run timeout
Internal Changes & Chores
- Replaced
console.logcalls withcore.infofor proper Actions log integration (#84) - Removed stale
ref/inputsparameters from the workflow list API call (#84) - Expanded CI test matrix from 3 sequential steps to 9 parallel test jobs covering workflow lookup, output assertions, wait-for-completion, sync-status, and error handling (#84)
- Added CI path filters to skip docs-only changes (#84)
- Changed echo-3 test fixture from
workflow_calltoworkflow_dispatchwith deterministic failure (#84) - Removed unused
.vscode/settings.json(#84) - Added
.github/copilot-instructions.md(#84) - General project chores
Documentation Updates
- No documentation updates in this release
v1.3.0 - It's been a long time coming...
What's Changed
- After 6 years GitHub finally added a way to return the run-id from the workflow_dispatch API, this means I can return the run-id and link URLs from this action 😎
- It also means the requested
wait-for-completionoption is now possible! 🥳 (with optionalwait-timeout-secondstoo) - Mucho internal modernization, switched to esbuild, packages updated and Node v24 is the new default 👀
Merges
Full Changelog: v1.2...v1.3.0
v1.2.4 - Summer 2024
What's Changed
- Fix issue when a wrong workflowRef is used by @fffonion in #77 👍
- Internal changes & chores: eslint updated to v9, linting, prettier etc 🥱
New Contributors
Full Changelog: v1.2.3...v1.2.4
v1.2.3 - 2024 refresh
- Switched action to Node v20 it should stop those nags and warnings when using the action!
- Package & dependency update
- Removed zeit/ncc for vercel/nc
Full Changelog: v1.2.2...v1.2.3
v1.2.2 - Fix ref regression
Fixes this issue #50
v1.1 - August 2020 Update
- Supports specifying workflow both by ID and by name
- Fix for repos with more than 30 actions, thanks @eerichmond !