You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run peter-evans/create-pull-request@v7
with:
title: Auto Merge PR
body: This PR contains an auto merge for the changes.
branch: auto-merge-2024-11-06-17-04-40
base: main
token: ***
commit-message: [create-pull-request] automated change
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ansulagrawal <5593[email protected]>
signoff: false
delete-branch: false
sign-commits: false
draft: false
maintainer-can-modify: true
Prepare git configuration
/usr/bin/git config --global --name-only --get-regexp safe.directory /home/runner/work/auto-commit/auto-commit
/usr/bin/git config --global --add safe.directory /home/runner/work/auto-commit/auto-commit
/usr/bin/git config --local --get remote.origin.url https://github.com/ansulagrawal/auto-commit
/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
Determining the base and head repositories
Pull request branch target repository set to ansulagrawal/auto-commit
Configuring credential for HTTPS authentication
/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
/usr/bin/git rev-parse --git-dir
.git
Checking the base repository state
/usr/bin/git symbolic-ref HEAD --short
auto-merge-2024-11-06-17-04-40
Working base is branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git remote prune origin
Pull request branch to create or update set to 'auto-merge-2024-11-06-17-04-40'
Configuring the committer and author
Configured git committer as 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
Configured git author as 'ansulagrawal <5[email protected]>'
Create or update the pull request branch
/usr/bin/git symbolic-ref HEAD --short
auto-merge-2024-11-06-17-04-40
Working base is branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git checkout --progress -B 5ef61e73-1459-40ce-a9a0-faa824fd2ad8 HEAD --
Switched to a new branch '5ef61e73-1459-40ce-a9a0-faa824fd2ad8'
/usr/bin/git status --porcelain -unormal --
/usr/bin/git diff --quiet --
/usr/bin/git diff --quiet --staged --
/usr/bin/git stash push --include-untracked
No local changes to save
Resetting working base branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git checkout --progress auto-merge-2024-11-06-17-04-40 --
Switched to branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git reset --hard origin/auto-merge-2024-11-06-17-04-40
fatal: ambiguous argument 'origin/auto-merge-2024-11-06-17-04-40': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Error: The process '/usr/bin/git' failed with exit code 128
Restore git configuration
/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
http.https://github.com/.extraheader
/usr/bin/git config --local --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
http.https://github.com/.extraheader AUTHORIZATION: basic ***
/usr/bin/git config --local --unset http.https://github.com/.extraheader ^AUTHORIZATION:
Unset config key 'http.https://github.com/.extraheader'
/usr/bin/git config --global --unset safe.directory /home/runner/work/auto-commit/auto-commi
Describe your issue here.
@ansulagrawal It looks like the both the base and branch were set to the same branch name.
...
Working base is branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git remote prune origin
Pull request branch to create or update set to 'auto-merge-2024-11-06-17-04-40'
...
I can see that you've changed the workflow to use the GitHub CLI instead. So perhaps you have a working solution already. If you still need help please provide the exact workflow you are trying.
Subject of the issue
Run peter-evans/create-pull-request@v7
with:
title: Auto Merge PR
body: This PR contains an auto merge for the changes.
branch: auto-merge-2024-11-06-17-04-40
base: main
token: ***
commit-message: [create-pull-request] automated change
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ansulagrawal <5593[email protected]>
signoff: false
delete-branch: false
sign-commits: false
draft: false
maintainer-can-modify: true
Prepare git configuration
/usr/bin/git config --global --name-only --get-regexp safe.directory /home/runner/work/auto-commit/auto-commit
/usr/bin/git config --global --add safe.directory /home/runner/work/auto-commit/auto-commit
/usr/bin/git config --local --get remote.origin.url
https://github.com/ansulagrawal/auto-commit
/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
Determining the base and head repositories
Pull request branch target repository set to ansulagrawal/auto-commit
Configuring credential for HTTPS authentication
/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
/usr/bin/git rev-parse --git-dir
.git
Checking the base repository state
/usr/bin/git symbolic-ref HEAD --short
auto-merge-2024-11-06-17-04-40
Working base is branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git remote prune origin
Pull request branch to create or update set to 'auto-merge-2024-11-06-17-04-40'
Configuring the committer and author
Configured git committer as 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
Configured git author as 'ansulagrawal <5[email protected]>'
Create or update the pull request branch
/usr/bin/git symbolic-ref HEAD --short
auto-merge-2024-11-06-17-04-40
Working base is branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git checkout --progress -B 5ef61e73-1459-40ce-a9a0-faa824fd2ad8 HEAD --
Switched to a new branch '5ef61e73-1459-40ce-a9a0-faa824fd2ad8'
/usr/bin/git status --porcelain -unormal --
/usr/bin/git diff --quiet --
/usr/bin/git diff --quiet --staged --
/usr/bin/git stash push --include-untracked
No local changes to save
Resetting working base branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git checkout --progress auto-merge-2024-11-06-17-04-40 --
Switched to branch 'auto-merge-2024-11-06-17-04-40'
/usr/bin/git reset --hard origin/auto-merge-2024-11-06-17-04-40
fatal: ambiguous argument 'origin/auto-merge-2024-11-06-17-04-40': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Error: The process '/usr/bin/git' failed with exit code 128
Restore git configuration
/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
http.https://github.com/.extraheader
/usr/bin/git config --local --get-regexp http.https://github.com/.extraheader ^AUTHORIZATION:
http.https://github.com/.extraheader AUTHORIZATION: basic ***
/usr/bin/git config --local --unset http.https://github.com/.extraheader ^AUTHORIZATION:
Unset config key 'http.https://github.com/.extraheader'
/usr/bin/git config --global --unset safe.directory /home/runner/work/auto-commit/auto-commi
Describe your issue here.
Steps to reproduce
Check out at: https://github.com/ansulagrawal/auto-commit/blob/main/.github/workflows/automerge.yml
If this issue is describing a possible bug please provide (or link to) your GitHub Actions workflow.
The text was updated successfully, but these errors were encountered: