Skip to content

Commit

Permalink
fix: get right ref for formatting cmnd
Browse files Browse the repository at this point in the history
  • Loading branch information
Firgrep committed Sep 15, 2024
1 parent 40d3f8b commit df098ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.issue.pull_request.head.ref }}

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -41,7 +41,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: 'ci: format code [automated action on behalf of ${{ github.event.pull_request.user.login }}]'
message: 'ci: format code [automated action on behalf of ${{ github.event.comment.user.login }}]'
if: steps.prettier-changes.outputs.has_changes != '0'

# - name: Push changes
Expand Down

0 comments on commit df098ef

Please sign in to comment.