diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index bc188f95675b..8cd353147603 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -49,9 +49,11 @@ jobs: run: | echo "PREFIX=${{ github.event.inputs.deployment_prefix || env.DEFAULT_DEPLOYMENT_PREFIX }}" >> "$GITHUB_ENV" - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - name: Checkout (content) + uses: actions/checkout@v4 with: repository: mdn/content path: mdn/content @@ -61,24 +63,28 @@ jobs: # so we can figure out each document's last-modified date. fetch-depth: 0 - - uses: actions/checkout@v4 + - name: Checkout (mdn-studio) + uses: actions/checkout@v4 with: repository: mdn/mdn-studio path: mdn/mdn-studio lfs: true token: ${{ secrets.MDN_STUDIO_PAT }} - - uses: actions/checkout@v4 + - name: Checkout (generic-content) + uses: actions/checkout@v4 with: repository: mdn/generic-content path: mdn/generic-content - - uses: actions/checkout@v4 + - name: Checkout (curriculum) + uses: actions/checkout@v4 with: repository: mdn/curriculum path: mdn/curriculum - - uses: actions/checkout@v4 + - name: Checkout (translated-content) + uses: actions/checkout@v4 with: repository: mdn/translated-content path: mdn/translated-content @@ -102,7 +108,8 @@ jobs: git add files/de git -c user.name='MDN' -c user.email='mdn-dev@mozilla.com' commit -m 'de' - - uses: actions/checkout@v4 + - name: Checkout (mdn-contributor-spotlight) + uses: actions/checkout@v4 with: repository: mdn/mdn-contributor-spotlight path: mdn/mdn-contributor-spotlight diff --git a/.github/workflows/developing.yml b/.github/workflows/developing.yml index 94b719de8504..d8035c11ca73 100644 --- a/.github/workflows/developing.yml +++ b/.github/workflows/developing.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout (yari) + - name: Checkout uses: actions/checkout@v4 - name: Setup Node.js environment diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 34f8f0b47588..937f7be65637 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout (yari) + - name: Checkout uses: actions/checkout@v4 with: # Needed because of diff --git a/.github/workflows/pr-bundlesize-compare.yml b/.github/workflows/pr-bundlesize-compare.yml index dfff41cb1f8d..bed6af1283ab 100644 --- a/.github/workflows/pr-bundlesize-compare.yml +++ b/.github/workflows/pr-bundlesize-compare.yml @@ -15,7 +15,8 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout (head) + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} @@ -49,7 +50,8 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout (base) + uses: actions/checkout@v4 with: ref: ${{ github.base_ref }} diff --git a/.github/workflows/pr-deployer.yml b/.github/workflows/pr-deployer.yml index 70d889598e51..b4e186941f0a 100644 --- a/.github/workflows/pr-deployer.yml +++ b/.github/workflows/pr-deployer.yml @@ -14,7 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Install Python id: setup-python diff --git a/.github/workflows/pr-docs.yml b/.github/workflows/pr-docs.yml index ce6e3f49a9d1..625e3adcdc41 100644 --- a/.github/workflows/pr-docs.yml +++ b/.github/workflows/pr-docs.yml @@ -15,7 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v4 diff --git a/.github/workflows/pr-kumascript.yml b/.github/workflows/pr-kumascript.yml index fef72841df1c..1a59e056ccad 100644 --- a/.github/workflows/pr-kumascript.yml +++ b/.github/workflows/pr-kumascript.yml @@ -26,7 +26,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v4 diff --git a/.github/workflows/prod-build.yml b/.github/workflows/prod-build.yml index 181bf212ed39..347d6ef25901 100644 --- a/.github/workflows/prod-build.yml +++ b/.github/workflows/prod-build.yml @@ -67,9 +67,11 @@ jobs: if: github.repository == 'mdn/yari' steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - name: Checkout (content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }} with: repository: mdn/content @@ -80,7 +82,8 @@ jobs: # so we can figure out each document's last-modified date. fetch-depth: 0 - - uses: actions/checkout@v4 + - name: Checkout (mdn-studio) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/mdn-studio @@ -88,13 +91,15 @@ jobs: lfs: true token: ${{ secrets.MDN_STUDIO_PAT }} - - uses: actions/checkout@v4 + - name: Checkout (generic-content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/generic-content path: mdn/generic-content - - uses: actions/checkout@v4 + - name: Checkout (curriculum) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/curriculum @@ -112,7 +117,8 @@ jobs: echo "DEPLOYER_BUCKET_PREFIX=${{ github.event.inputs.deployment_prefix || env.DEFAULT_DEPLOYMENT_PREFIX }}" >> $GITHUB_ENV echo "DEPLOYER_LOG_EACH_SUCCESSFUL_UPLOAD=${{ github.event.inputs.log_each_successful_upload || env.DEFAULT_LOG_EACH_SUCCESSFUL_UPLOAD }}" >> $GITHUB_ENV - - uses: actions/checkout@v4 + - name: Checkout (translated-content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }} with: repository: mdn/translated-content @@ -140,7 +146,8 @@ jobs: git add files/de git -c user.name='MDN' -c user.email='mdn-dev@mozilla.com' commit -m 'de' - - uses: actions/checkout@v4 + - name: Checkout (mdn-contributor-spotlight) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/mdn-contributor-spotlight diff --git a/.github/workflows/review-deploy.yml b/.github/workflows/review-deploy.yml index 20faf9d69a8e..373043c83214 100644 --- a/.github/workflows/review-deploy.yml +++ b/.github/workflows/review-deploy.yml @@ -34,7 +34,8 @@ jobs: - name: Print information about CPU run: cat /proc/cpuinfo - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v4 diff --git a/.github/workflows/stage-build.yml b/.github/workflows/stage-build.yml index 929fda7b74e5..a8a169692a50 100644 --- a/.github/workflows/stage-build.yml +++ b/.github/workflows/stage-build.yml @@ -89,7 +89,8 @@ jobs: echo "DEPLOYER_BUCKET_PREFIX=${{ github.event.inputs.deployment_prefix || env.DEFAULT_DEPLOYMENT_PREFIX }}" >> $GITHUB_ENV echo "DEPLOYER_LOG_EACH_SUCCESSFUL_UPLOAD=${{ github.event.inputs.log_each_successful_upload || env.DEFAULT_LOG_EACH_SUCCESSFUL_UPLOAD }}" >> $GITHUB_ENV - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -104,7 +105,8 @@ jobs: git checkout - git merge main --no-edit || git merge --abort - - uses: actions/checkout@v4 + - name: Checkout (content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }} with: repository: mdn/content @@ -115,7 +117,8 @@ jobs: # so we can figure out each document's last-modified date. fetch-depth: 0 - - uses: actions/checkout@v4 + - name: Checkout (mdn-studio) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/mdn-studio @@ -123,19 +126,22 @@ jobs: lfs: true token: ${{ secrets.MDN_STUDIO_PAT }} - - uses: actions/checkout@v4 + - name: Checkout (generic-content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/generic-content path: mdn/generic-content - - uses: actions/checkout@v4 + - name: Checkout (curriculum) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/curriculum path: mdn/curriculum - - uses: actions/checkout@v4 + - name: Checkout (translated-content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }} with: repository: mdn/translated-content @@ -163,7 +169,8 @@ jobs: git add files/de git -c user.name='MDN' -c user.email='mdn-dev@mozilla.com' commit -m 'de' - - uses: actions/checkout@v4 + - name: Checkout (mdn-contributor-spotlight) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/mdn-contributor-spotlight diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 804cf10ff795..124b3f954913 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -60,9 +60,11 @@ jobs: echo "notes: ${{ github.event.inputs.notes || env.DEFAULT_NOTES }}" echo "invalidate: ${{ github.event.inputs.invalidate }}" - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - name: Checkout (content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }} with: repository: mdn/content @@ -74,7 +76,8 @@ jobs: fetch-depth: 0 ref: ${{ github.event.inputs.content-ref }} - - uses: actions/checkout@v4 + - name: Checkout (mdn-studio) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/mdn-studio @@ -82,19 +85,22 @@ jobs: lfs: true token: ${{ secrets.MDN_STUDIO_PAT }} - - uses: actions/checkout@v4 + - name: Checkout (generic-content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/generic-content path: mdn/generic-content - - uses: actions/checkout@v4 + - name: Checkout (curriculum) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/curriculum path: mdn/curriculum - - uses: actions/checkout@v4 + - name: Checkout (translated-content) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD || ! vars.SKIP_FUNCTION }} with: repository: mdn/translated-content @@ -123,7 +129,8 @@ jobs: git add files/de git -c user.name='MDN' -c user.email='mdn-dev@mozilla.com' commit -m 'de' - - uses: actions/checkout@v4 + - name: Checkout (mdn-contributor-spotlight) + uses: actions/checkout@v4 if: ${{ ! vars.SKIP_BUILD }} with: repository: mdn/mdn-contributor-spotlight @@ -142,7 +149,8 @@ jobs: # Use a GITHUB_TOKEN to bypass rate limiting for rari. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v4 + - name: Checkout (rari) + uses: actions/checkout@v4 if: ${{ !( vars.SKIP_BUILD || github.event.inputs.rari-ref == '' ) }} with: repository: mdn/rari diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 88cf65ccdf70..8b8a843bf3e0 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -17,7 +17,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v4 @@ -54,7 +55,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v4