We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0d819 commit 086e317Copy full SHA for 086e317
1 file changed
.github/workflows/pull_upstream.yml
@@ -44,6 +44,12 @@ jobs:
44
run: |
45
git merge upstream/master --allow-unrelated-histories --squash
46
47
+ - name: List files with merge conflicts
48
+ shell: bash
49
+ run: |
50
+ echo "Please resolve merge conflicts within the following files:\n" >> .pr-body.md
51
+ git diff --name-only --diff-filter=U --relative | awk '{print "- " $0}' >> .pr-body.md
52
+
53
- name: Commit
54
id: commit
55
continue-on-error: true
@@ -61,6 +67,6 @@ jobs:
61
67
if: steps.commit.outcome == 'success'
62
68
shell: bash
63
69
64
- gh pr create --fill --base ${{ github.ref_name }} --head pull_upstream
70
+ gh pr create --fill --body-file ".pr-body.md" --base ${{ github.ref_name }} --head pull_upstream
65
71
env:
66
72
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments