Skip to content

Commit

Permalink
add branch to env
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankXie05 committed Jul 30, 2024
1 parent c1d735b commit f3a6e9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clean-commit-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
done
- name: Push cleaned commit messages
run: |
git push origin HEAD:${{ github.event.pull_request.head.ref }} --force-with-lease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_BRANCH: ${{ github.event.pull_request.head.ref }}
run: |
git push origin HEAD:$PR_BRANCH --force-with-lease

0 comments on commit f3a6e9b

Please sign in to comment.