You've already forked go-template-container-webserver
handle multiple commits
All checks were successful
Update Child Repos / update (push) Successful in 7s
All checks were successful
Update Child Repos / update (push) Successful in 7s
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
||||
git config --global user.email "${GIT_EMAIL}"
|
||||
git config --global credential.helper store
|
||||
echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials
|
||||
./update_child_repos.sh
|
||||
./update_child_repos.sh "${{ github.event.before }}"
|
||||
env:
|
||||
GIT_NAME: ${{ secrets.GIT_NAME }}
|
||||
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
|
||||
|
||||
@@ -14,7 +14,11 @@ TEMPLATE_BRANCH="main"
|
||||
CURRENT_COMMIT_ID=$(git rev-parse HEAD)
|
||||
COMMIT_MESSAGE="Template updates (commit: ${CURRENT_COMMIT_ID:0:7})"
|
||||
|
||||
PREVIOUS_COMMIT_ID="${1:-}"
|
||||
|
||||
if [ -z "${PREVIOUS_COMMIT_ID}" ]; then
|
||||
PREVIOUS_COMMIT_ID=$(git log --format="%H" -n 2 HEAD | tail -n 1)
|
||||
fi
|
||||
|
||||
if [ "${PREVIOUS_COMMIT_ID}" = "${CURRENT_COMMIT_ID}" ]; then
|
||||
FILES_CHANGED=""
|
||||
|
||||
Reference in New Issue
Block a user