2026 refresh#83
Merged
Merged
Conversation
- Bump version from 1.2.4 to 1.3.0 in package.json - Change build script to use esbuild instead of ncc - Update devDependencies to latest versions, including @actions/core, @actions/github, eslint, and typescript - Update copyright year in main.ts to 2026 - Add return_run_details to API call and set additional outputs for runId, runUrl, and runUrlHtml - Update TypeScript configuration to target ES2022 and use ESNext module resolution
…logic in workflows
|
@benc-uk - Nice work with this! Was excited to see this announcement but didn't expect you'd have incorporated it into the action already. Thank you!! |
3 tasks
mdbarr
pushed a commit
to onshape/actions-workflow-dispatch
that referenced
this pull request
Jul 1, 2026
* chore: update package version to 1.3.0 and modify build process - Bump version from 1.2.4 to 1.3.0 in package.json - Change build script to use esbuild instead of ncc - Update devDependencies to latest versions, including @actions/core, @actions/github, eslint, and typescript - Update copyright year in main.ts to 2026 - Add return_run_details to API call and set additional outputs for runId, runUrl, and runUrlHtml - Update TypeScript configuration to target ES2022 and use ESNext module resolution * feat: add wait-for-completion input to handle workflow run completion * feat: update workflows and README for improved functionality and clarity * feat: enhance echo workflow with wait functionality and update README for clarity * feat: add wait-timeout-seconds input and enhance wait for completion logic in workflows * feat: enhance wait-for-completion logging to include timeout duration * Refactor code structure for improved readability and maintainability * fix: update timeout warning message for clarity in workflow run status
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.
This pull request introduces a major new feature to the action: the ability to wait for a triggered workflow run to complete, with configurable timeout. It also updates dependencies, build tooling, and documentation to support and explain these changes. The most important changes are grouped below.
New Feature: Wait for Workflow Completion
wait-for-completionandwait-timeout-seconds, allowing the action to optionally wait for the triggered workflow run to finish before completing, with polling and timeout logic implemented insrc/main.ts. Outputs are expanded to include the run ID and URLs. [1] [2] [3] [4]Documentation Updates
README.mdto document the new waiting feature, usage examples, and expanded outputs. Adds a note and screenshot about the new capability. [1] [2] [3] [4]Workflow and Internal Modernization
ncctoesbuildand updates the Node.js runtime to v24 inaction.yamlandpackage.json. Also bumps action and dependency versions for better compatibility and performance. [1] [2] [3] [4]actions/checkoutand modernizes YAML formatting. [1] [2] [3]Testing and Example Improvements
Miscellaneous
These changes collectively make the action more powerful and modern, especially for users needing to chain workflows and react to their completion status.