Skip to content

Commit

Permalink
updated version of the checkout action.
Browse files Browse the repository at this point in the history
  • Loading branch information
sion-smith-confluent committed Feb 9, 2024
1 parent 108c17e commit 69f1a4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/auto-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# However, using a personal access token will cause events to be triggered.
# We need that to ensure a status gets posted after the auto-format commit.
# We also want to trigger tests if the auto-format made no changes.
- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: github.event.pull_request.state == 'open'
name: Privileged Checkout
with:
Expand All @@ -25,7 +25,6 @@ jobs:
# Check out the PR commit, not the merge commit
# Use `ref` instead of `sha` to enable pushing back to `ref`
ref: ${{ github.event.pull_request.head.ref }}

# Do all the formatting stuff
- name: Auto Format
if: github.event.pull_request.state == 'open'
Expand Down

0 comments on commit 69f1a4a

Please sign in to comment.