From 1205c0741dccdbd9cdb0d2366412e106a9b195f5 Mon Sep 17 00:00:00 2001 From: Wojciech Nawa Date: Thu, 5 Sep 2024 08:37:37 +0200 Subject: [PATCH] Fix checkouts --- .github/workflows/acm.yaml | 1 + .github/workflows/cra.yaml | 2 ++ .github/workflows/reusable-k3d-agent-test.yml | 13 +++++++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/acm.yaml b/.github/workflows/acm.yaml index 4aa8f537..c09417c7 100644 --- a/.github/workflows/acm.yaml +++ b/.github/workflows/acm.yaml @@ -54,6 +54,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + repository: ${{ github.repository}} - name: Set up go environment uses: actions/setup-go@v4 with: diff --git a/.github/workflows/cra.yaml b/.github/workflows/cra.yaml index f77aea09..d404a26e 100644 --- a/.github/workflows/cra.yaml +++ b/.github/workflows/cra.yaml @@ -43,6 +43,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + repository: ${{ github.repository}} - name: Detect files id: detect-files uses: tj-actions/changed-files@d6babd6899969df1a11d14c368283ea4436bca78 @@ -66,6 +67,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + repository: ${{ github.repository}} - name: Set up go environment uses: actions/setup-go@v5 with: diff --git a/.github/workflows/reusable-k3d-agent-test.yml b/.github/workflows/reusable-k3d-agent-test.yml index e8a5dd21..362f31b2 100644 --- a/.github/workflows/reusable-k3d-agent-test.yml +++ b/.github/workflows/reusable-k3d-agent-test.yml @@ -1,11 +1,11 @@ -name: Run compass-runtime-agent integration tests on k3d +name: Run compass-runtime-agent integration tests on k3d on: workflow_call: inputs: - k3d-version: - required: true - type: string - default: v5.6.0 + k3d-version: + required: true + type: string + default: v5.6.0 secrets: compass-host: required: true @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} + repository: ${{ github.repository}} - name: Set up go environment uses: actions/setup-go@v4 with: @@ -36,7 +37,7 @@ jobs: env: COMPASS_CLIENT_ID: ${{ secrets.compass-client-id }} COMPASS_CLIENT_SECRET: ${{ secrets.compass-client-secret }} - COMPASS_HOST: ${{ secrets.compass-host }} + COMPASS_HOST: ${{ secrets.compass-host }} run: make -C tests/hack/ci k3d-agent-tests - name: archive-logs if: always()