Skip to content

Commit 15e1e3f

Browse files
committed
ci: Enforce rebasing PRs before merging
Replaces the old, broken action
1 parent 6372bd0 commit 15e1e3f

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

‎.github/workflows/block-merge-commits.yml‎

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Enforce Rebasing
2+
3+
on: [push]
4+
5+
jobs:
6+
rebase_job:
7+
runs-on: ubuntu-latest
8+
name: Enforce rebasing
9+
10+
steps:
11+
- name: Check out code
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Is Rebased on master?
16+
uses: cyberark/enforce-rebase@v2

0 commit comments

Comments
 (0)