Skip to content

Merge pull request #109 from atlas-bi/renovate/lint-staged-14.x #96

Merge pull request #109 from atlas-bi/renovate/lint-staged-14.x

Merge pull request #109 from atlas-bi/renovate/lint-staged-14.x #96

Workflow file for this run

name: Sync Updates
on:
push:
branches:
- 'dev'
- 'alpha'
jobs:
alpha:
runs-on: ubuntu-latest
if: github.ref_name == 'dev'
steps:
- uses: actions/checkout@v3
with:
ref: alpha
- name: Reset promotion branch
run: |
git fetch origin ${{github.ref_name}}:${{github.ref_name}}
git reset --hard ${{github.ref_name}}
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
labels: automated pr
branch: ${{github.ref_name}}
title: chore(sync) Syncing changes from ${{github.ref_name}} to alpha
master:
runs-on: ubuntu-latest
if: github.ref_name == 'alpha'
steps:
- uses: actions/checkout@v3
with:
ref: master
- name: Reset promotion branch
run: |
git fetch origin ${{github.ref_name}}:${{github.ref_name}}
git reset --hard ${{github.ref_name}}
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
labels: automated pr
branch: ${{github.ref_name}}
title: chore(sync) Syncing changes from ${{github.ref_name}} to master