-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#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_hash
output populated with the full commit hash where relevant.Fixes #171