Skip to content

Commit

Permalink
📝 update merge block documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
flaxel authored and 0x46616c6b committed Apr 25, 2024
1 parent d564b9a commit d9faf2e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,27 @@ jobs:

</details>

### Merge Block

<details>
<summary>The action can be used to block the merge if a do not merge label is set.</summary>

```yml
name: Merge Block

on:
pull_request:
types: [opened, labeled, unlabeled]

jobs:
block:
uses: Staffbase/gha-workflows/.github/workflows/template_do_not_merge.yml@v2.0.0
with:
# optional: name of the label if the PR should not be merged, default: do not merge
label: merge block
```
</details>

### Release Drafter

<details>
Expand Down

0 comments on commit d9faf2e

Please sign in to comment.