From fba0b108812a27f86697bac34e9202c56268e94f Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Mon, 5 May 2025 10:52:18 +0200 Subject: [PATCH] Actions(ephemeral-instances): Clone the ephemeral repo (#104920) --- .github/workflows/ephemeral-instances-pr-comment.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ephemeral-instances-pr-comment.yml b/.github/workflows/ephemeral-instances-pr-comment.yml index 42b6d262d3d..78160190fa0 100644 --- a/.github/workflows/ephemeral-instances-pr-comment.yml +++ b/.github/workflows/ephemeral-instances-pr-comment.yml @@ -41,8 +41,17 @@ jobs: app_id: ${{ env.APP_ID }} private_key: ${{ env.APP_PEM }} + - name: Checkout ephemeral instances repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + repository: grafana/ephemeral-grafana-instances-github-action + token: ${{ steps.generate_token.outputs.token }} + ref: main + path: ephemeral + persist-credentials: false + - name: build and deploy ephemeral instance - uses: grafana/ephemeral-grafana-instances-github-action@main + uses: ./ephemeral with: github-token: ${{ steps.generate_token.outputs.token }} gcom-host: ${{ env.GCOM_HOST }}