mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
touchpr: use ssh
This commit is contained in:
parent
09e428b98c
commit
10d54446c9
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ def main [
|
|||
|
||||
let pr_details = (http get $api_url)
|
||||
let branch_name = $pr_details.head.ref
|
||||
let clone_url = $pr_details.head.repo.clone_url
|
||||
let clone_url = $pr_details.head.repo.ssh_url
|
||||
|
||||
# Create a temporary directory
|
||||
let temp_dir = (mktemp -d)
|
||||
|
|
@ -59,4 +59,4 @@ def main [
|
|||
# Clean up
|
||||
cd ..
|
||||
rm -rf $temp_dir
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue