Skip to content

Commit

Permalink
CI: Fix double checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
notdevcody authored Jul 20, 2024
1 parent c8841fe commit d05a723
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- if: github.event_name != 'pull_request'
uses: actions/checkout@v3
uses: actions/checkout@v4
- if: github.event_name == 'pull_request'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/checkout@v4
- uses: notdevcody/[email protected]
with:
include-glob: '*.java'
Expand Down

0 comments on commit d05a723

Please sign in to comment.