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..."