From 4464f27cbba217fb2f43183d44bd883b34046fe4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 3 Apr 2022 19:23:43 +0000 Subject: [PATCH] Bump actions/cache from 2.1.7 to 3.0.1 Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.1. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/937d24475381cd9c75ae6db12cb4e79714b926ed...136d96b4aee02b1f0de3ba493b1d47135042d9c0) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/browser-test.yml | 2 +- .github/workflows/check-all-english-links.yml | 2 +- .../enterprise-release-sync-search-index.yml | 2 +- .github/workflows/pa11y.yml | 2 +- .github/workflows/sync-search-indices.yml | 14 +++++++++++++- .github/workflows/sync-search-pr.yml | 2 +- .github/workflows/test.yml | 9 +++++++-- 7 files changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml index 14b0e3de1bc7..fb991588a15c 100644 --- a/.github/workflows/browser-test.yml +++ b/.github/workflows/browser-test.yml @@ -54,7 +54,7 @@ jobs: run: npm ci --include=optional - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} diff --git a/.github/workflows/check-all-english-links.yml b/.github/workflows/check-all-english-links.yml index a405461ff20d..8c15f9e45960 100644 --- a/.github/workflows/check-all-english-links.yml +++ b/.github/workflows/check-all-english-links.yml @@ -35,7 +35,7 @@ jobs: - name: npm ci run: npm ci - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} diff --git a/.github/workflows/enterprise-release-sync-search-index.yml b/.github/workflows/enterprise-release-sync-search-index.yml index 3a3545727207..15ce35beb72a 100644 --- a/.github/workflows/enterprise-release-sync-search-index.yml +++ b/.github/workflows/enterprise-release-sync-search-index.yml @@ -63,7 +63,7 @@ jobs: run: $GITHUB_WORKSPACE/.github/actions-scripts/enterprise-search-label.js - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} diff --git a/.github/workflows/pa11y.yml b/.github/workflows/pa11y.yml index 8babbfa8d827..94739646a3b9 100644 --- a/.github/workflows/pa11y.yml +++ b/.github/workflows/pa11y.yml @@ -30,7 +30,7 @@ jobs: run: npm ci --include=optional - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} diff --git a/.github/workflows/sync-search-indices.yml b/.github/workflows/sync-search-indices.yml index 00f8d73595de..fe14a6a51f5b 100644 --- a/.github/workflows/sync-search-indices.yml +++ b/.github/workflows/sync-search-indices.yml @@ -65,7 +65,7 @@ jobs: run: npm ci - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} @@ -77,6 +77,18 @@ jobs: env: VERSION: ${{ github.event.inputs.version }} LANGUAGE: ${{ github.event.inputs.language }} + # We don't want or need the changelog entries in this context. + # Pages that display the content from these isn't included + # in search index bodies anyway. + CHANGELOG_DISABLED: true + # If a reusable, or anything in the `data/*` directory is deleted + # you might get a + # + # RenderError: Can't find the key 'site.data.reusables...' in the scope + # + # But that'll get fixed in the next translation pipeline. For now, + # let's just accept an empty string instead. + THROW_ON_EMPTY: false run: npm run sync-search - name: Update private docs repository search indexes diff --git a/.github/workflows/sync-search-pr.yml b/.github/workflows/sync-search-pr.yml index 339dec87148d..7f884c3fe898 100644 --- a/.github/workflows/sync-search-pr.yml +++ b/.github/workflows/sync-search-pr.yml @@ -38,7 +38,7 @@ jobs: run: npm ci - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b4669893db5..2f7c039e9238 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,7 +48,10 @@ jobs: - name: Check out repo uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 with: - lfs: true + # Not all test suites need the LFS files. So instead, we opt to + # NOT clone them initially and instead, include them manually + # only for the test groups that we know need the files. + lfs: ${{ matrix.test-group == 'content' }} # Enables cloning the Early Access repo later with the relevant PAT persist-credentials: 'false' @@ -99,6 +102,8 @@ jobs: mv docs-early-access/data data/early-access rm -r docs-early-access + # This is necessary when LFS files where cloned but does nothing + # if actions/checkout was run with `lfs:false`. - name: Checkout LFS objects run: git lfs checkout @@ -127,7 +132,7 @@ jobs: run: npm ci - name: Cache nextjs build - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed + uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0 with: path: .next/cache key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}