Skip to content

Commit

Permalink
ci: Check rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Oct 23, 2024
1 parent 43aede6 commit 08fe146
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check_rebased.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check branch is rebased
on:
pull_request:
branches:
- main

jobs:
check-rebased:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: check rebased
run: |
git fetch origin
git checkout main
git merge ${{ GITHUB_HEAD_REF }} --ff-only

0 comments on commit 08fe146

Please sign in to comment.