Skip to content

Commit

Permalink
Create dev.tracker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vendelieu authored Oct 11, 2024
1 parent ba3dbb2 commit 181c82e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/dev.tracker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Dev Branch

on:
push:
branches: [ master ]

permissions:
contents: write

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Git User
run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
- name: Update Dev Branch
run: |
git checkout master
git fetch origin
git checkout dev
git pull
git reset origin/master --hard
git push origin dev --force

0 comments on commit 181c82e

Please sign in to comment.