mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 06:08:19 +01:00
Merge pull request #6731 from marc1706/ticket/17407
[ticket/17407] Combine create and update step and use replace edit-mode
This commit is contained in:
commit
688c7cad49
15
.github/workflows/check_merge_to_master.yml
vendored
15
.github/workflows/check_merge_to_master.yml
vendored
@ -51,24 +51,13 @@ jobs:
|
|||||||
body-includes: The attempt to merge branch `3.3.x` into `master` has completed
|
body-includes: The attempt to merge branch `3.3.x` into `master` has completed
|
||||||
|
|
||||||
- name: Post comment on PR
|
- name: Post comment on PR
|
||||||
if: steps.fc.outputs.comment-id == ''
|
if: always() # Ensure this step always runs, regardless of merge result
|
||||||
uses: peter-evans/create-or-update-comment@v4
|
uses: peter-evans/create-or-update-comment@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
body: |
|
|
||||||
The attempt to merge branch `3.3.x` into `master` has completed after considering the changes in this PR.
|
|
||||||
|
|
||||||
- Merge result: ${{ steps.merge_master.outputs.mergeable == 'true' && 'Success ✅' || 'Conflict ❌' }}
|
|
||||||
|
|
||||||
${{ steps.merge_master.outputs.mergeable == 'true' && 'This PR is ready to be merged.' || 'A separate PR will be needed to merge `3.3.x` into `master`.' }}
|
|
||||||
|
|
||||||
- name: Update comment on PR
|
|
||||||
if: steps.fc.outputs.comment-id != ''
|
|
||||||
uses: peter-evans/create-or-update-comment@v4
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||||
|
edit-mode: replace
|
||||||
body: |
|
body: |
|
||||||
The attempt to merge branch `3.3.x` into `master` has completed after considering the changes in this PR.
|
The attempt to merge branch `3.3.x` into `master` has completed after considering the changes in this PR.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user