mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
ci: fix repo name detection
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user