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