Skip to content

2026 refresh#83

Merged
benc-uk merged 8 commits into
masterfrom
2026-refresh
Feb 20, 2026
Merged

2026 refresh#83
benc-uk merged 8 commits into
masterfrom
2026-refresh

Conversation

@benc-uk

@benc-uk benc-uk commented Feb 20, 2026

Copy link
Copy Markdown
Owner

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

  • Adds support for two new inputs, wait-for-completion and wait-timeout-seconds, allowing the action to optionally wait for the triggered workflow run to finish before completing, with polling and timeout logic implemented in src/main.ts. Outputs are expanded to include the run ID and URLs. [1] [2] [3] [4]

Documentation Updates

  • Updates the README.md to 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

  • Switches build tool from ncc to esbuild and updates the Node.js runtime to v24 in action.yaml and package.json. Also bumps action and dependency versions for better compatibility and performance. [1] [2] [3] [4]
  • Updates all workflow YAML files to use the latest versions of actions/checkout and modernizes YAML formatting. [1] [2] [3]

Testing and Example Improvements

  • Adds usage of the new wait feature in test workflows and example YAMLs, ensuring coverage and illustrating the new capability. [1] [2]

Miscellaneous

  • Updates copyright years, editor settings, and minor formatting for consistency. [1] [2] [3]

These changes collectively make the action more powerful and modern, especially for users needing to chain workflows and react to their completion status.

- 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
@benc-uk benc-uk merged commit a54f9d1 into master Feb 20, 2026
@benc-uk benc-uk deleted the 2026-refresh branch February 20, 2026 23:33
@aaronsteers

aaronsteers commented Feb 21, 2026

Copy link
Copy Markdown

@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!!

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
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.

2 participants