Output hash of created commit#172
Conversation
|
I now notice that checks are currently only run on push events. Running the |
|
I should probably also update the readme ... |
Feel free to PR this too. Will have a closer look at this PR in the next couple of days … or when you feel the PR is ready to review. Thanks for your contribution! |
|
The PR for workflow updates is at /pull/173. |
|
Now that /pull/172 is merged, I'll rebase and push to this PR again and hopefully that should get some checks to run. |
90abf5a to
05aea7e
Compare
|
Lovely. Will take a closer look this evening and merge and tag a new version. |
|
👍 Marvellous, cheers! |
queilawithaQ
left a comment
There was a problem hiding this comment.
#172 tests/git-auto-commit
@@ -150,8 +154,7 @@ git_auto_commit() {
assert_line "INPUT_REPOSITORY value: ${INPUT_REPOSITORY}"
assert_line "::set-output name=changes_detected::true"
assert_line "::set-output name=changes_detected::true"
refute_line -e "::set-output name=commit_hash::[0-9a-f]{40}$"
assert_line "INPUT_BRANCH value: master"
assert_line "INPUT_FILE_PATTERN: ."
assert_line "INPUT_COMMIT_OPTIONS: "
Adds
commit_hashoutput populated with the full commit hash where relevant.Fixes #171