cli/acceptance/testdata
Tim Rogers 6c21ab2284
Error when gh repo rename is used with a new repo name that contains an owner
`gh repo rename` can only rename a repo, but not change its owner
(i.e. transfer it).

As flagged in #10034, at the moment, the CLI behaves like it can do
this, and produces weird results.

If I ask to rename my repo to `polyseam/frappe-containers`:

```bash
gh repo rename polyseam/frappe-containers
```

..the preview suggests that it will do the right thing:

```
? Rename polyseam/containers to polyseam/frappe-containers? Yes
```

...but the repo gets renamed wrongly:

```
✓ Renamed repository polyseam/polyseam-frappe-containers
```

This adds an upfront validation that looks for a slash and tells
you that the command can't transfer a repo.

Fixes #10034.
2025-02-03 11:49:21 +00:00
..
api Implement basic API acceptance test 2024-10-17 15:39:29 +02:00
auth Address PR feedback 2024-10-23 13:57:57 -07:00
extension Rename similar to other coarse commandset tests 2024-10-28 12:54:50 +01:00
gpg-key Refactor gpg-key delete to align with ssh-key delete 2024-10-24 09:59:02 -06:00
issue Fix issue creation with metadata regex 2024-10-15 19:11:49 +01:00
label Add Acceptance test for label command 2024-10-24 17:00:54 +02:00
org Add acceptance tests for org command 2024-10-24 09:58:06 -06:00
pr Add tests for using the pr Finder outside of repo 2025-01-31 14:22:02 -08:00
project Modify script to use the project number returned by the api upon creation 2024-10-25 09:03:50 -07:00
release Remove stdout assertion from release 2024-10-17 16:06:14 +02:00
repo Error when gh repo rename is used with a new repo name that contains an owner 2025-02-03 11:49:21 +00:00
ruleset Rename testscript for consistency 2024-10-28 12:40:15 +01:00
search Fix single quote not expanding vars 2024-10-21 10:20:37 -06:00
secret Add acceptance test for secrets remote disambiguation 2025-01-15 14:55:17 +01:00
ssh-key Add SSH Key Acceptance test 2024-10-24 17:46:17 +02:00
variable Update variable testscripts based on secret 2024-10-21 16:02:26 -04:00
workflow Use safepaths for run download 2024-12-04 22:12:58 +01:00