Skip to content

Adding the wait-interval-seconds input#98

Merged
benc-uk merged 1 commit into
benc-uk:mainfrom
wvidana:main
May 11, 2026
Merged

Adding the wait-interval-seconds input#98
benc-uk merged 1 commit into
benc-uk:mainfrom
wvidana:main

Conversation

@wvidana
Copy link
Copy Markdown
Contributor

@wvidana wvidana commented Apr 23, 2026

Adding the option to configure the wait interval. It was hardcoded to 5 seconds, which is a bit short for long running jobs

@wvidana
Copy link
Copy Markdown
Contributor Author

wvidana commented May 11, 2026

@benc-uk any thoughts on this one?

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new wait-interval-seconds input to make the polling interval configurable when wait-for-completion is enabled, improving usability for long-running workflows.

Changes:

  • Introduced wait-interval-seconds input and used it to control the polling delay.
  • Documented the new input in README.md.
  • Updated the bundled dist/index.js and action.yaml to keep the action in sync.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/main.ts Reads wait-interval-seconds and uses it in the polling loop delay.
README.md Documents the new wait-interval-seconds input.
action.yaml Adds the new input definition and default value.
dist/index.js Rebuilt bundle reflecting the new input and polling behavior.

Comment thread src/main.ts
Comment thread README.md
Comment on lines +67 to +70
### `wait-interval-seconds`

**Optional.** Interval in seconds between polls. This only applies if `wait-for-completion` is set to `true`. Default is `5` seconds.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

@benc-uk benc-uk merged commit 977cee2 into benc-uk:main May 11, 2026
7 of 14 checks passed
@benc-uk
Copy link
Copy Markdown
Owner

benc-uk commented May 11, 2026

Thanks @wvidana !

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.

3 participants