mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 08:06:10 -07:00
Try to let users use GITHU_REF variable in the commit message
This commit is contained in:
parent
8e9bfb00e6
commit
cb0e53ecbe
|
@ -55,6 +55,7 @@ ls -la
|
|||
|
||||
ORIGIN_COMMIT="https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
|
||||
COMMIT_MESSAGE="${COMMIT_MESSAGE/ORIGIN_COMMIT/$ORIGIN_COMMIT}"
|
||||
COMMIT_MESSAGE="${COMMIT_MESSAGE/GITHUB_REF/$GITHUB_REF}"
|
||||
|
||||
echo "git add:"
|
||||
git add .
|
||||
|
|
Loading…
Reference in New Issue
Block a user