Skip to content

Commit

Permalink
Add github workflow to check that branch was rebased to develop.
Browse files Browse the repository at this point in the history
  • Loading branch information
tribeiro committed Oct 19, 2023
1 parent 4c2e897 commit 77dcc96
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/enforce_rebase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Enforce Rebasing

on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches-ignore:
- main

jobs:
rebase_job:
runs-on: ubuntu-latest
name: Enforce rebasing

steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Is Rebased on develop?
uses: cyberark/enforce-rebase@v2
with:
default-branch: develop

0 comments on commit 77dcc96

Please sign in to comment.