Skip to content

Commit

Permalink
chore(test-build): allow specifiying translated-content ref (#12562)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA authored Feb 3, 2025
1 parent 8bf21b2 commit d683516
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
type: string
default: "main"

translated-content-ref:
description: "translated-content ref to build"
type: string
default: "main"

notes:
description: "Notes"
required: false
Expand Down Expand Up @@ -51,6 +56,7 @@ jobs:
run: |
echo "rari-ref: ${{ github.event.inputs.rari-ref }}"
echo "content-ref: ${{ github.event.inputs.content-ref }}"
echo "translated-content-ref: ${{ github.event.inputs.translated-content-ref }}"
echo "notes: ${{ github.event.inputs.notes || env.DEFAULT_NOTES }}"
echo "invalidate: ${{ github.event.inputs.invalidate }}"
Expand Down Expand Up @@ -95,6 +101,7 @@ jobs:
path: mdn/translated-content
# See matching warning for mdn/content checkout step
fetch-depth: 0
ref: ${{ github.event.inputs.translated-content-ref }}

- name: Checkout (translated-content-de)
uses: actions/checkout@v4
Expand Down

0 comments on commit d683516

Please sign in to comment.