Skip to content

Commit

Permalink
chore: update GitHub Actions workflow to fetch main branch and push c…
Browse files Browse the repository at this point in the history
…hanges explicitly
  • Loading branch information
srijanpatel committed Feb 19, 2025
1 parent d5b2f80 commit 3fedba9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
version: ${{ steps.get-version.outputs.version }}
steps:
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0

- name: Get version from tag
id: get-version
Expand All @@ -33,7 +36,7 @@ jobs:
git config --global user.email "[email protected]"
git add backend/pyproject.toml
git commit -m "chore: update version to ${{ steps.get-version.outputs.version }}"
git push
git push origin main
- name: Update release tag
run: |
Expand Down

0 comments on commit 3fedba9

Please sign in to comment.