-
-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version of the Action
v4 (@v4)
Describe the bug
Reading the docs, I would expect the following to both push any changes back to the branch AND tag that commit with env.CORE_VERSION. However, what is happening is that the tag is created but the branch is not updated.
Action will create and push a new tag to the remote repository and the defined branch
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Updating Packages
commit_user_name: Grouparoo Bot
commit_user_email: hello@grouparoo.com
commit_author: Grouparoo Bot <hello@grouparoo.com>
branch: ${{ github.head_ref }}
tagging_message: v${{ env.CORE_VERSION }}
Action: https://github.com/grouparoo/app-example/blob/master/.github/workflows/update.yml
Run: https://github.com/grouparoo/app-example/runs/1983284335?check_suite_focus=true
Specifcally:
Started: bash /home/runner/work/_actions/stefanzweifel/git-auto-commit-action/v4/entrypoint.sh
INPUT_REPOSITORY value: .
INPUT_BRANCH value:
From https://github.com/grouparoo/app-example
* [new branch] helm -> origin/helm
M package-lock.json
M package.json
Your branch is up to date with 'origin/master'.
INPUT_FILE_PATTERN: .
INPUT_COMMIT_OPTIONS:
INPUT_COMMIT_USER_NAME: Grouparoo Bot
INPUT_COMMIT_USER_EMAIL: hello@grouparoo.com
INPUT_COMMIT_MESSAGE: Updating Packages
INPUT_COMMIT_AUTHOR: Grouparoo Bot <hello@grouparoo.com>
[master 1ede8b3] Updating Packages
2 files changed, 738 insertions(+), 893 deletions(-)
INPUT_TAGGING_MESSAGE: v0.2.3
INPUT_PUSH_OPTIONS:
To https://github.com/grouparoo/app-example
* [new tag] v0.2.3 -> v0.2.3
Expected behavior
I would expect both the branch to be pushed with the latest code & the tag to be created.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working