Open qwerttvv opened 10 months ago
same issue here, works v1.3
I'm experiencing a similar issue, with version 2.0.10
, with the following inputs:
- uses: tgymnich/fork-sync@v2.0.10
if: ${{ matrix.branch != '' }}
with:
owner: k8snetworkplumbingwg # upstream
head: master # upstream
base: ${{ matrix.branch }} # downstream
pr_title: 'sync: from upstream master to ${{ matrix.branch }}'
pr_message: 'Created by [*${{ github.job }}* workflow job](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) to sync changes from [upstream](${{ github.server_url }}/k8snetworkplumbingwg/${{ github.event.repository.name }}) to [downstream](${{ github.server_url }}/${{ github.repository }}).'
retries: 1
retry_after: 3
token: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }}
auto_approve: true
auto_merge: true
merge_method: rebase
Yields error:
Error: Failed to create or merge pull request: HttpError: Unprocessable Entity: "Can not approve your own pull request"
The example and documentation on the main readme may lack further details regarding Branch protection rules (etc.)...
In my case my protected branch has the following [potentially] relevant rules:
@tgymnich thanks in advanced, LMK if you need further details or anything else to aid troubleshooting!
v1.9.0 https://github.com/tgymnich/fork-sync/commit/e2c7edd2fa70502b27eb4ff7644fe8709d1c71cb
cfg with secrets.PERSONAL_TOKEN, Personal access tokens (classic) - repo, workflow
cfg with secrets.GITHUB_TOKEN
error log
Allow auto-merge is select my repo: https://github.com/qwerttvv/MPC-VideoRenderer/ owner repo: https://github.com/Aleksoid1978/VideoRenderer