Commit graph

11 commits

Author SHA1 Message Date
b8aea16a20 [#2] Write tests for the regex
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-25 19:17:12 +03:00
b57feca5f3 [#3] Disallow using [xX] in commit prefix
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-25 19:17:07 +03:00
c2f55eea82 [#5] Add "Revert" to the list of allowed commit prefixes
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-25 19:17:01 +03:00
7616539e89 Improve logged messages
1. Quote commit message.
2. Log OK commits too.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-08-02 17:14:41 +03:00
4d4511c407 Resolve both branches and commit abbreviations
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-08-02 16:55:05 +03:00
77aa221efe Use proper error to stop iteration
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-07-13 11:51:11 +03:00
2f1de6fc41 Use merge-base as a starting point
Set it to target branch and check only the commits we are interested in.
If the commit is already in the branch, we just get an old behaviour.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-07-13 11:51:07 +03:00
102e7d41c0 Rename PR head variable
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-07-13 11:51:00 +03:00
3ba16336e5 Allow release commits
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-06-30 19:07:45 +03:00
1ba1dab35d Add README
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-06-30 18:59:25 +03:00
275e0b4675 Initial commit
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-06-30 18:54:50 +03:00