From f37e007b8eb15a44171b284f2cc0dc1c56cd3f9c Mon Sep 17 00:00:00 2001 From: Ammar Bandukwala Date: Fri, 2 Jun 2023 21:40:18 +0000 Subject: [PATCH] ci: fix repo name detection --- .github/actions/upload-datadog/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/upload-datadog/action.yaml b/.github/actions/upload-datadog/action.yaml index 04247ecff8..6bcf242de7 100644 --- a/.github/actions/upload-datadog/action.yaml +++ b/.github/actions/upload-datadog/action.yaml @@ -9,7 +9,7 @@ runs: steps: - shell: bash run: | - repo_name=${{ github.event.pull_request.head.repo.full_name }} + repo_name=${{ github.repository_owner }}/${{ github.repository_name }} echo "repo_name: $repo_name" if [[ $repo_name != "coder/coder" ]]; then echo "Not a pull request from the main repo, skipping..."