Commit graph

30 commits

Author SHA1 Message Date
Thomas Stringer
c89961879d
Release v1.5.1 (#28) 2022-06-29 21:34:22 -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
89390d2289
Add markdown files to ignored files in the CI pipeline (#25)
The CI pipeline should not be running if only markdown files are
modified, so they should be ignored.
2022-06-29 21:15:08 -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
Thomas Stringer
816ea3dd2b
Add linting (#23)
Adds linting and fixes a couple of linting issues. Closes #6.
2022-06-29 21:02:36 -04:00
Thomas Stringer
14ea447010
Fix newline for denied (#22)
This was originally fixed for approved in #12 but the denied case was
missing. This adds a failing test and the fix for it.
2022-06-29 20:54:06 -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
75c263a9f8
Fix bug with not accepting newlines (#12)
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:47:51 -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
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
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
c24bf80784
Close issue if action cancelled (#4)
* Close issue if kill signal received

* Refactor: Exiting main loop can close application without explicit call to os.Exit(0)

* Leave a comment on the closed issue if the close handler is triggered

* Accidentally deleted the final logging command

* Fix punctuation on the closing comment

* Handle the comment loop and interruption handling via channels and a select statement

* Update main.go
2022-04-28 08:20:50 -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
25c308dc56 fix formatting of issue text 2022-03-26 10:16:23 -04:00
Thomas Stringer
45819da35c change version for image 2022-03-26 09:53:23 -04:00
Thomas Stringer
b775605d57 update readme 2022-03-26 09:42:45 -04:00
Thomas Stringer
a55d8b93fb add flexible accepted keywords 2022-03-26 09:39:58 -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
771ebb5e80 fix workflow 2022-03-25 21:31:42 -04:00
Thomas Stringer
c9de37e14b add workflow and readme 2022-03-25 21:28:51 -04:00
Thomas Stringer
820f14d2b8 Merge remote-tracking branch 'origin/main' 2022-03-24 20:44:51 -04:00
Thomas Stringer
fceb313127
Initial commit 2022-03-24 20:43:53 -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