Skip to content

Commit 67a7108

Browse files
committed
checkout local scripts
1 parent b74c25e commit 67a7108

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/quality-checks.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,15 @@ jobs:
354354
with:
355355
fetch-depth: 0
356356

357+
- name: Checkout .github folder from workflow repo
358+
uses: actions/checkout@v5
359+
with:
360+
repository: ${{ github.repository }}
361+
path: .workflow-github
362+
sparse-checkout: |
363+
.github
364+
sparse-checkout-cone-mode: false
365+
357366
- name: Build dev container
358367
run: |
359368
docker build -f .devcontainer/Dockerfile -t dev-container-image .
@@ -386,7 +395,7 @@ jobs:
386395
REPOSITORY_NAME: ${{ inputs.dev_container_ecr }}
387396
IMAGE_TAG: ${{ inputs.dev_container_image_tag }}-amd64
388397
ACCOUNT_ID: ${{ steps.retrieve-deploy-account-id.outputs.account_id }}
389-
working-directory: .github/scripts
398+
working-directory: .workflow-github/.github/scripts
390399
run: |
391400
# Wait a moment for ECR to process the new manifest
392401
sleep 30
@@ -434,7 +443,7 @@ jobs:
434443
REPOSITORY_NAME: ${{ inputs.dev_container_ecr }}
435444
IMAGE_TAG: ${{ inputs.dev_container_image_tag }}-arm64
436445
ACCOUNT_ID: ${{ steps.retrieve-deploy-account-id.outputs.account_id }}
437-
working-directory: .github/scripts
446+
working-directory: .workflow-github/.github/scripts
438447
run: |
439448
# Wait a moment for ECR to process the new manifest
440449
sleep 30
@@ -447,12 +456,6 @@ jobs:
447456
needs: [build_dev_container_x64, build_dev_container_arm64]
448457
if: ${{ inputs.dev_container_ecr != '' && inputs.dev_container_image_tag != '' }}
449458
steps:
450-
- name: Checkout local github actions
451-
uses: actions/checkout@v5
452-
with:
453-
fetch-depth: 0
454-
sparse-checkout: |
455-
.github
456459
- name: Set up Docker Buildx
457460
uses: docker/setup-buildx-action@v3
458461

0 commit comments

Comments
 (0)