mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-21 19:05:39 +00:00
PR: troubleshooting the PR not being created
This commit is contained in:
parent
e1de1339e5
commit
96f130f371
3
.github/workflows/pr_from_upstream.yml
vendored
3
.github/workflows/pr_from_upstream.yml
vendored
|
@ -70,6 +70,8 @@ jobs:
|
||||||
git fetch "${{ env.UPSTREAM_REPO }}" "${{ env.TARGET_BRANCH }}"
|
git fetch "${{ env.UPSTREAM_REPO }}" "${{ env.TARGET_BRANCH }}"
|
||||||
git pull "${{ env.UPSTREAM_REPO }}" "${{ env.TARGET_BRANCH }}"
|
git pull "${{ env.UPSTREAM_REPO }}" "${{ env.TARGET_BRANCH }}"
|
||||||
|
|
||||||
|
git commit --allow-empty -m "Updating module with upstream repo"
|
||||||
|
|
||||||
git diff
|
git diff
|
||||||
|
|
||||||
echo "GIT_DIFF=$git diff --minimal" >> $GITHUB_ENV
|
echo "GIT_DIFF=$git diff --minimal" >> $GITHUB_ENV
|
||||||
|
@ -85,6 +87,7 @@ jobs:
|
||||||
if: success()
|
if: success()
|
||||||
uses: peter-evans/create-pull-request@v7.0.5
|
uses: peter-evans/create-pull-request@v7.0.5
|
||||||
with:
|
with:
|
||||||
|
delete-branch: true
|
||||||
token: ${{ steps.generate-rekku-token.outputs.token || secrets.TRIGGER_BUILD_TOKEN }}
|
token: ${{ steps.generate-rekku-token.outputs.token || secrets.TRIGGER_BUILD_TOKEN }}
|
||||||
commit-message: "Sync with upstream changes from ${{ env.UPSTREAM_REPO }}"
|
commit-message: "Sync with upstream changes from ${{ env.UPSTREAM_REPO }}"
|
||||||
branch: ${{ env.BRANCH_NAME }}
|
branch: ${{ env.BRANCH_NAME }}
|
||||||
|
|
Loading…
Reference in a new issue