Merge pull request #15 from itzMiney/itzMiney-patch-1

Add workflow to sync development branch with master
This commit is contained in:
Michael authored and GitHub committed 2026-01-28 19:59:27 +01:00
commit 876c1f33a5
1 file changed
+31
+31
View File
@@ -0,0 +1,31 @@
name: Sync development branch with master
on:
push:
branches: [ master ]
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fast-forward development to master
run: |
set -euo pipefail
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git fetch origin master development
git checkout -B development origin/development || git checkout -b development
git merge --ff-only origin/master
git push origin development