hotfix(ci): correctly detect repo name (#7820)

This commit is contained in:
Ammar Bandukwala
2023-06-02 20:18:09 +00:00
committed by GitHub
parent d082ab59b4
commit 97fb5020cf
+3 -1
View File
@@ -9,7 +9,9 @@ runs:
steps:
- shell: bash
run: |
if [[ ${{ github.event.pull_request.head.repo.full_name != 'coder/coder' }} ]]; then
repo_name=${{ github.event.pull_request.head.repo.full_name }}
echo "repo_name: $repo_name"
if [[ $repo_name != "coder/coder" ]]; then
echo "Not a pull request from the main repo, skipping..."
exit 0
fi