Skip to content

Commit

Permalink
Sync feature branches with develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
RK206 committed Sep 13, 2023
1 parent 9b14826 commit c4adc17
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync Feature Branch with Develop

on:
pull_request:
types:
- opened
- synchronize

jobs:
sync-with-develop:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Fetch and rebase develop
run: |
git fetch origin
git rebase origin/develop
- name: Push changes back to feature branch
run: |
git push origin HEAD

0 comments on commit c4adc17

Please sign in to comment.