Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97fb502

Browse files
authored
hotfix(ci): correctly detect repo name (coder#7820)
1 parent d082ab5 commit 97fb502

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ runs:
99
steps:
1010
- shell: bash
1111
run: |
12-
if [[ ${{ github.event.pull_request.head.repo.full_name != 'coder/coder' }} ]]; then
12+
repo_name=${{ github.event.pull_request.head.repo.full_name }}
13+
echo "repo_name: $repo_name"
14+
if [[ $repo_name != "coder/coder" ]]; then
1315
echo "Not a pull request from the main repo, skipping..."
1416
exit 0
1517
fi

0 commit comments

Comments
 (0)