ci: fix repo name detection

This commit is contained in:
Ammar Bandukwala
2023-06-02 21:40:18 +00:00
parent ea03c7276b
commit f37e007b8e
+1 -1
View File
@@ -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..."