Skip to content

chore(deps): update dependency @canonical/react-components to v0.45.0 #97

chore(deps): update dependency @canonical/react-components to v0.45.0

chore(deps): update dependency @canonical/react-components to v0.45.0 #97

Workflow file for this run

name: Demo update
on:
push:
branches:
- main
jobs:
updateBranch:
name: Update demo branch
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'canonical' }}
steps:
- uses: actions/checkout@v3
with:
ref: demo
- name: Fetch rebase and push
if: github.ref == 'refs/heads/main'
run: |
git config --global user.email "github-action@example.com"
git config --global user.name "GitHub Action"
git fetch origin main --depth 1
git checkout demo
git rebase -X ours origin/main # in rebase ours is the incoming branch
git push --force