diff options
| author | Young-Flash <dongyang@apache.org> | 2024-02-19 18:09:33 +0800 |
|---|---|---|
| committer | Young-Flash <dongyang@apache.org> | 2024-02-19 18:09:33 +0800 |
| commit | af174b9428fd4a80971b7bfc213f108facf62740 (patch) | |
| tree | 04315d66d419e10d49346145370c3979e8171078 | |
| parent | 68c506fd6299c60c96a6202ca08f9d868a0838a3 (diff) | |
| download | rust-af174b9428fd4a80971b7bfc213f108facf62740.tar.gz rust-af174b9428fd4a80971b7bfc213f108facf62740.zip | |
internal: checkout repo before run typos
| -rw-r--r-- | .github/workflows/ci.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 62fbd57abc1..5a8b18e3fe1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -226,6 +226,11 @@ jobs: - name: download typos 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 + - name: Checkout repository + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + - name: check for typos run: typos |
