Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Merge pull request #192 from Kerosene-Labs/BIL-6-update-fixed
Browse files Browse the repository at this point in the history
BIL-6: add sync
  • Loading branch information
hlafaille authored Jan 2, 2025
2 parents 30ba596 + 11226eb commit f4d22fd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/sync-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Sync Develop with Main

on:
push:
branches:
- main

jobs:
merge-to-develop:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Fetch all branches
run: git fetch --all

- name: Check out develop branch
run: git checkout develop

- name: Merge main into develop
run: git merge origin/main --no-edit

- name: Push changes to develop
run: git push origin develop

0 comments on commit f4d22fd

Please sign in to comment.