Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Added Merge Block Workflow
Browse files Browse the repository at this point in the history
This workflow will prevent any pull requests from being
merged into `trunk`.
  • Loading branch information
ObliviousHarmony committed Dec 8, 2023
1 parent d976360 commit ad36567
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/block-pr-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Block Merge To trunk'
on: [ pull_request ]

jobs:
block_merge:
runs-on: ubuntu-latest
steps:
- name: Merge Blocked
if: github.event.pull_request.base.ref == 'trunk'
run: exit 1

0 comments on commit ad36567

Please sign in to comment.