Skip to content

Commit

Permalink
always push to main (#993)
Browse files Browse the repository at this point in the history
Co-authored-by: Juan Orduz <[email protected]>
  • Loading branch information
2 people authored and twiecki committed Sep 10, 2024
1 parent 245496c commit 2e297e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/uml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || 'main' }}
ref: main

- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -41,7 +41,7 @@ jobs:
else
echo "Committing the changes"
git commit -m "Update UML Diagrams"
git push origin HEAD:${GITHUB_HEAD_REF:-main}
git push origin HEAD:main
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2e297e1

Please sign in to comment.