Commit graph

26 commits

Author SHA1 Message Date
Mateus Caruccio
c10ec77612
Feature: Save output (#132) 2025-03-07 01:46:54 -05: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
Liz MacLean
aba06e32f1
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
2025-02-14 20:23:48 -05:00
Thomas Stringer
662b3ddbc7
Create new release (#123) 2024-06-12 20:42:28 -04:00
Vanley
315f51d888
add timeout-minutes to valid imputs (#121) 2024-06-12 20:21:14 -04:00
Thomas Stringer
a824dad59a
Release v1.9.0 (#84)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2023-02-18 09:43:31 -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
3276970bc1
Release v1.8.0 (#62)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-11-13 16:17:08 -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
Thomas Stringer
0871d5bc6b
Create release v1.7.0 (#58)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-11-06 08:21:37 -05:00
Thomas Stringer
367124c80b
Release v1.6.0 (#40)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
2022-08-14 19:00:18 -04:00
Thomas Stringer
46dbdde656
Release v1.6.0-rc.2 (#35) 2022-07-14 22:31:30 -04:00
Thomas Stringer
275c15b013
Create release v1.6.0-rc.1 (#33) 2022-07-14 22:15:20 -04:00
Thomas Stringer
d8f25cb80e
Add branding to the Marketplace Action (#31)
Adds icon and color to the Action's branding in the Marketplace.
2022-07-14 19:57:45 -04:00
Thomas Stringer
c89961879d
Release v1.5.1 (#28) 2022-06-29 21:34:22 -04:00
Thomas Stringer
6b85d8fb55
Release v1.5.0 (#19) 2022-06-12 15:31:58 -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
Thomas Stringer
3f2b3dd866
Release 1.4.0 (#13)
Release commit for version 1.4.0.
2022-05-25 19:51:45 -04:00
Thomas Stringer
984a23b266
Release version 1.3.0 (#10)
This release contains two features:

* The ability to close the issue if the workflow was cancelled (#4)
* Debug logging for issue creation (#9)
2022-05-24 19:58:17 -04:00
Thomas Stringer
c4714a2254
release 1.2.0 (#5) 2022-04-05 14:49:42 -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
31a4889bfd change version for image 2022-03-26 10:23:26 -04:00
Thomas Stringer
45819da35c change version for image 2022-03-26 09:53:23 -04:00
Thomas Stringer
80c1360591 initial commit 2022-03-24 20:41:13 -04:00