-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Falk Puschner <[email protected]>
- Loading branch information
1 parent
fabeecb
commit f9a36fc
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
label: | ||
required: false | ||
type: string | ||
default: do not merge | ||
default: "do not merge" | ||
comment: | ||
required: false | ||
type: boolean | ||
|
@@ -24,15 +24,15 @@ jobs: | |
id: comment | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body-includes: ⚠️ **The merge is blocked.** | ||
body-includes: ⚠️ **This Pull Request is not ready to be merged.** | ||
|
||
- name: Comment on PR | ||
if: inputs.comment && contains(github.event.pull_request.labels.*.name, inputs.label) && steps.comment.outputs.comment-id == '' | ||
uses: peter-evans/[email protected] | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
⚠️ **The merge is blocked.** | ||
⚠️ **This Pull Request is not ready to be merged.** | ||
Remove the label '${{ inputs.label }}' to proceed. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters