- Add polling-interval-seconds input parameter to action.yaml (default: 10)
- Update polling logic to use configurable interval
- Add input validation to ensure positive values
- Update README with usage documentation
This allows users to customize how frequently the action polls GitHub API
for approval status, enabling them to reduce API calls or speed up response
times based on their needs.
* Adding the capability to create the approval issue in another repository
* reverting testing changes
* reverting test changes contd.
* Updating readme and removing a debug line
* Introduce a 'fail-on-denial' boolean (#147)
* Introduce a 'fail-on-approval' boolean
* Use test docker image
* oops
* change default and fix logic
* Update action.yaml
* Fix linting error
* Adding the capability to create the approval issue in another repository
* reverting testing changes
* reverting test changes contd.
* moving targetRepo inputs from env vars to action-args
* Update constants.go
* Update constants.go to resolve nuances created by inconsistent tab length settings
---------
Co-authored-by: Liz MacLean <18120837+lizziemac@users.noreply.github.com>
* Add new input 'issue-body'
Similar to the 'issue-title' input, 'issue-body' allows to put custom
text to the body of the approval issue.
* Update readme for 'issue-body' input
* Adding support for custom titles.
* Cleaning up blank lines in main.go
* Renaming approvalIssueTitle to IssueTitle in all relavent places.
* Fixing period in README
Co-authored-by: Thomas Stringer <thomas@trstringer.com>
* Remove period in action doc.
Co-authored-by: Thomas Stringer <thomas@trstringer.com>
Co-authored-by: Thomas Stringer <thomas@trstringer.com>
* Allow approval of a worflow with a set number of approvals
* update action interface
* Added test for when not enough approvals have been registered and minimumApprovals is set
* Warning raised by invalid minimumApprovals value should be an error
* update new input name to use hyphens
* Input env variable does in fact contain hyphens