Skip to content

Commit

Permalink
chore: update name
Browse files Browse the repository at this point in the history
- pin actions/checkout
  • Loading branch information
matijs committed Jun 1, 2024
1 parent 56e2d52 commit 2fbb42f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Block autosquash commits
name: No Fixups
description: |
GitHub Action to use in pull requests to check if there are accidental
commits that should have been autosquashed first.
Expand All @@ -9,6 +9,7 @@ inputs:
Skip the actions/checkout because you are using your own checkout.
Set `fetch-depth` and `ref` yourself. See below for values.
default: 'false'

runs:
using: composite
steps:
Expand All @@ -23,7 +24,7 @@ runs:

- name: Checkout
if: ${{ inputs.skip-checkout == 'false' }}
uses: actions/[email protected]
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit 2fbb42f

Please sign in to comment.