Daily Merge Main to Dev #11
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: Daily Merge Main to Dev | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Runs every day at 00:00 UTC | |
jobs: | |
merge-main-to-dev: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Fetch latest changes | |
run: git fetch origin | |
- name: Merge main branch to dev branch | |
run: git merge origin/main -m "Merge main branch to dev" | |
- name: Push dev branch changes | |
run: git push origin dev |