Skip to content

Commit

Permalink
Merge pull request #56 from chris3ware/main
Browse files Browse the repository at this point in the history
docs: Update checkout step in example workflow
  • Loading branch information
joemiller committed Mar 27, 2024
2 parents b9be4a6 + b1c5e8c commit 7ab2d6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Include the pull request ref in the checkout action to prevent merge commit
# https://github.com/actions/checkout?tab=readme-ov-file#checkout-pull-request-head-commit-instead-of-merge-commit
with:
ref: ${{ github.event.pull_request.head.sha }}

# Run steps that make changes to the local repo here.

Expand Down

0 comments on commit 7ab2d6b

Please sign in to comment.