Commit graph

7 commits

Author SHA1 Message Date
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
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
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
a55d8b93fb add flexible accepted keywords 2022-03-26 09:39:58 -04:00
Thomas Stringer
80c1360591 initial commit 2022-03-24 20:41:13 -04:00