Rectify link to for operation status (#1050) #616
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- 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 branch demo | |
git checkout demo | |
touch wip-file | |
git add wip-file | |
git commit -am "wip" | |
git push origin demo --force |