Commit graph

26 commits

Author SHA1 Message Date
SnskArora
9f5e5d6bc5
Updates for release 1.11.0 2025-06-14 01:42:17 +05:30
Sunny
3441ed44b6
Multi arch build & Version bump (#185)
* Upgrading versions

* mod tidy

* LInting

* Linting

* Update action.yaml

* [skip ci] Reverting test changes

* msc chnages

* Update Makefile

* Update README.md

* Update README.md

* Update README.md

* Update Makefile

* [skip ci] Update README.md

* cosmetic changes
2025-06-13 19:16:46 +05:30
Liz MacLean
fb0bfeda5f
Fix typo in README related to the action output of approval status (#181) 2025-05-21 03:47:01 +05:30
Liz MacLean
9ef3307c25
Update README.md to have a more explicit callout about timeout-minutes (#180) 2025-05-10 11:10:29 -04:00
Liz MacLean
8248019266
Cleanup README and add some more informative messaging (#149) 2025-03-06 15:50:38 -05:00
Sanskar Arora
c17f1c63ff
Adding the capability to create the approval issue in the another repository (#142)
* 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>
2025-02-22 13:50:00 -05:00
Brandon Ward
639442a9fa
Feature: Allow Custom Approval or Denial Words (#66)
* Add support for custom approval and denial words

* Work out some regex nuances with GitHub
2023-02-16 20:20:43 -05:00
Daniel Gonzalez
948dfe9537
Add new input 'issue-body' (#74)
* 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
2023-01-20 07:13:43 -05:00
Thomas Stringer
36a6b4b6cb
Add GitHub release creation to dev docs (#63)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-11-13 16:21:01 -05:00
Thomas Stringer
f204a35271
Add dev guide to the documentation (#61)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-11-13 12:03:48 -05:00
Timothy Ng
753e13e935
Option to exclude workflow initiator (GITHUB_ACTOR) as an approver (#59)
* Add constant for GITHUB_ACTOR env var

* autoformat

* Ignore workflow initiator

* Fix incorrect if-else

* refactor: camelcase userName

* fix typo

* Add allow-workflow-initiator-as-approver input

* Add shouldIncludeWorkflowInitiator

* Add usage & description for allow-workflow-initiator-as-approver

* Clearer input description

* refactor: rename inputs/vars to 'exclude'

* update error msg with correct input name

* docs: move note on optional/default to description
2022-11-10 12:25:31 -05:00
Jens H
a7a4994e00
Update README with app token timeout limits (#42) 2022-11-09 17:51:36 -05:00
Thomas Stringer
955f242e70
Add documentation for required permissions (#57)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-11-06 08:12:10 -05:00
Thomas Stringer
1e890961bd
Add documentation for team approver (#39)
* Add documentation for team approver

This feature is now tested and this PR adds the necessary documentation
to show how to implement org team expansion for approvers.

Signed-off-by: Thomas Stringer <thomas@trstringer.com>

* fix action version

Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-08-14 18:52:30 -04:00
Thomas Stringer
78b4c148f1
Add ability to specify a team as an approver (#32)
Prior to this change, the approvers could only be explicit users. With
this change, you can now specify an org team and this will be expanded
out with a user list for approvers.

Closes #14.
2022-07-14 22:11:38 -04:00
Thomas Stringer
5b477abdf2
Add required approvers permissions requirement to documentation (#27)
If a required approver does not have the ability to be an approver in
the repository then when running this action you could receive an
HTTP/402 Validation Failed error. This change documents this behavior.
Closes #7.
2022-06-29 21:27:10 -04:00
Thomas Stringer
797770b08d
Add timeout to manual approval in documentation (#26)
If you want to be able to force a timeout for the manual approval
process you can use the `timeout-minutes` setting for either the step or
the job. This change documents this in the README. Closes #15.
2022-06-29 21:22:06 -04:00
Thomas Stringer
fee68ac26e
Add limitations to the README (#24)
Add the specific limitations and considerations to the project
documentation. Closes #2.
2022-06-29 21:12:01 -04:00
Dameon Smith
3ecbcf2753
Adding support for custom titles. (#18)
* 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>
2022-06-09 09:09:09 -04:00
Edmund Dipple
4d12fc4297
Set minimum approvals (#1)
* 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
2022-04-05 09:05:47 -04:00
Thomas Stringer
b775605d57 update readme 2022-03-26 09:42:45 -04:00
Thomas Stringer
a1f523c503 change case of status badge 2022-03-25 22:00:38 -04:00
Thomas Stringer
32c29581b6 add build status badge 2022-03-25 21:59:56 -04:00
Thomas Stringer
c9de37e14b add workflow and readme 2022-03-25 21:28:51 -04:00
Thomas Stringer
6a4f349166 add label for dockerfile and basic readme text 2022-03-24 20:43:13 -04:00
Thomas Stringer
80c1360591 initial commit 2022-03-24 20:41:13 -04:00