Commit graph

7 commits

Author SHA1 Message Date
Thomas Stringer
9dd24779eb Fix bug with not accepting newlines
Prior to this PR, if there was a newline (or multiple newline
characters) at the end of the keyword then it wouldn't match. With this
fix any number of newlines at the end of the keyword match will now be
considered for approve or deny.
2022-05-25 19:38:04 -04:00
Thomas Stringer
c4d4c8098f
Add newline to debug logging statement (#11)
There was a missing newline in the log. This commit adds the newline so
that there is the proper line breaks.
2022-05-24 20:39:08 -04:00
Thomas Stringer
1fd10e9380
Add debug statement for issue create (#9)
This PR adds a debug logging statement to stdout prior to creating the
issue. This will help troubleshoot issues, such as a GitHub API http/422
response status with invalid message.
2022-05-24 19:46:25 -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
25c308dc56 fix formatting of issue text 2022-03-26 10:16:23 -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