mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
ci: truly fix repo name detection
This commit is contained in:
@@ -9,9 +9,9 @@ runs:
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
repo_name=${{ github.repository_owner }}/${{ github.repository_name }}
|
||||
echo "repo_name: $repo_name"
|
||||
if [[ $repo_name != "coder/coder" ]]; then
|
||||
owner=${{ github.repository_owner }}
|
||||
echo "owner: $owner"
|
||||
if [[ $owner != "coder" ]]; then
|
||||
echo "Not a pull request from the main repo, skipping..."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user