Failed to create or merge pull request: HttpError: Validation Failed: {"resource":"PullRequest","field":"head","code":"invalid"}
tairosonloa opened this issue · comments
Since a few days ago, I'm getting this error message. Here is the debug trace:
name: "Sync with original repo - action"
#https://github.com/marketplace/actions/fork-sync
on:
schedule:
- cron: '0 16 * * 1,4'
workflow_dispatch: # on button click
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: tgymnich/fork-sync@v1.3
with:
owner: mikecao
github_token: ${{ secrets.GITHUB_TOKEN }}
personal_token: ${{ secrets.GH_PERSONAL_TOKEN }}
head: master
base: production
merge_method: merge
pr_title: Fork Sync
auto_approve: true
Getting same error
Edit --
This is might be related to the problem #38
Edit 2 --
fixed it on my side
Edit 3 --
didnt see the replies below ... but i had the wrong base and head name
Getting same error
Edit --This is might be related to the problem #38Edit 2 -- fixed it on my side
How did you fix it? May have changed something in GitHub and I need to update my (until then) working configuration.
Getting same error
Edit --This is might be related to the problem #38Edit 2 -- fixed it on my side
How did you fix it, I have the same problem
I have the same problem...
wrong base name and head name in my case