From a700897d5a46c03f9cac060b6854de44ac33733b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Sat, 27 Apr 2024 15:48:35 +0200 Subject: [PATCH] Add missing checkout step --- .github/workflows/ci.yml | 4 ++++ src/ci/github-actions/ci.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a607defdb2..d691b72488b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,6 +177,10 @@ jobs: - job if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'" steps: + - name: checkout the source code + uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: publish toolstate run: src/ci/publish_toolstate.sh shell: bash diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml index a96170089f0..95d2225a6b1 100644 --- a/src/ci/github-actions/ci.yml +++ b/src/ci/github-actions/ci.yml @@ -286,6 +286,10 @@ jobs: if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'" <<: *base-outcome-job steps: + - name: checkout the source code + uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: publish toolstate run: src/ci/publish_toolstate.sh shell: bash