Rebase Dev Branch #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rebase Dev Branch | |
on: | |
workflow_run: | |
workflows: | |
- Merge to Main Branch | |
types: | |
- completed | |
jobs: | |
rebase-dev-branch: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
ref: dev | |
- name: Pushing Back to Dev Branch | |
run: | | |
git fetch origin main | |
git rebase origin/main | |
git push origin dev |