From 07424074bf7b5103773a55f89bbeae8da33e0498 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Mon, 17 Mar 2025 20:57:38 -0500 Subject: [PATCH] Add updated coana workflows - fix for forks --- .github/workflows/coana-guardrail.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coana-guardrail.yml b/.github/workflows/coana-guardrail.yml index 6f4139a..6928ce0 100644 --- a/.github/workflows/coana-guardrail.yml +++ b/.github/workflows/coana-guardrail.yml @@ -14,7 +14,7 @@ jobs: - name: Fetch the PR branch run: | - git fetch origin ${{ github.head_ref }}:${{ github.head_ref }} --depth=1 + git fetch ${{ github.event.pull_request.head.repo.clone_url }} ${{ github.head_ref }}:${{ github.head_ref }} --depth=1 - name: Get list of changed files relative to the main/master branch id: changed-files