Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/developing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout (yari)
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout (yari)
- name: Checkout
uses: actions/checkout@v4
with:
# Needed because of
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr-bundlesize-compare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-kumascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -80,21 +82,24 @@ 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
path: mdn/mdn-studio
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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/review-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -115,27 +117,31 @@ 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
path: mdn/mdn-studio
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
Expand Down Expand Up @@ -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
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -74,27 +76,31 @@ 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
path: mdn/mdn-studio
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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down