Skip to content

Commit a442420

Browse files
committed
ci: truly fix repo name detection
1 parent 887bbea commit a442420

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/upload-datadog/action.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ runs:
99
steps:
1010
- shell: bash
1111
run: |
12-
repo_name=${{ github.repository_owner }}/${{ github.repository_name }}
13-
echo "repo_name: $repo_name"
14-
if [[ $repo_name != "coder/coder" ]]; then
12+
owner=${{ github.repository_owner }}
13+
echo "owner: $owner"
14+
if [[ $owner != "coder" ]]; then
1515
echo "Not a pull request from the main repo, skipping..."
1616
exit 0
1717
fi

0 commit comments

Comments
 (0)