Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit af174b9

Browse files
committed
internal: checkout repo before run typos
1 parent 68c506f commit af174b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ jobs:
226226
- name: download typos
227227
run: curl -LsSf https://github.com/crate-ci/typos/releases/download/$TYPOS_VERSION/typos-$TYPOS_VERSION-x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
228228

229+
- name: Checkout repository
230+
uses: actions/checkout@v4
231+
with:
232+
ref: ${{ github.event.pull_request.head.sha }}
233+
229234
- name: check for typos
230235
run: typos
231236

0 commit comments

Comments
 (0)