Skip to content

Commit

Permalink
Create aarontest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
roo-ahine authored Nov 11, 2024
1 parent 8e2636a commit f850c5b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/aarontest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: TEST sync master to staging branch
on:
push:
branches:
- staging
workflow_dispatch: # Allows manual triggering

jobs:
syncStagingToMaster:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Sync master branch to staging
run: |
git fetch origin staging
- name: Merge Staging into the new branch
run: git merge --no-ff origin/staging --allow-unrelated-histories || true
- name: Revert changes to Dockerfile and .github
run: |
git checkout HEAD -- Dockerfile
git checkout HEAD -- .github
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: staging-to-master

0 comments on commit f850c5b

Please sign in to comment.