Skip to content

chore(scripts): set repository for gh commands #4458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 17, 2025
Merged

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket:

Changes included:

The script fails with GraphQL: Could not resolve to a PullRequest with the number of because gh is trying to operate on this repo rather than the documentation one

https://stackoverflow.com/questions/72438197/graphql-could-not-resolve-to-a-pullrequest-with-the-number-of-1153-repository

@shortcuts shortcuts requested a review from a team as a code owner February 12, 2025 16:12
@algolia-bot
Copy link
Collaborator

algolia-bot commented Feb 12, 2025

✔️ Code generated!

Name Link
🪓 Triggered by 271315c5688713a3d6373153791afc80fdebc92f
🍃 Generated commit 43863bf92b1e5a4f4478530c56556f898398386a
🌲 Generated branch generated/chore/gh-set-repo
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 1632
go 1605
php 1518
csharp 1432
java 1131
python 1084
ruby 816
swift 771

millotp
millotp previously approved these changes Feb 12, 2025
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or you can just use gh --repo ${OWNER}/${repository} !

@shortcuts
Copy link
Member Author

or you can just use gh --repo ${OWNER}/${repository} !

ah yes i'll use that

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice !

@shortcuts shortcuts merged commit 4108277 into main Feb 17, 2025
28 checks passed
@shortcuts shortcuts deleted the chore/gh-set-repo branch February 17, 2025 09:28
algolia-bot added a commit that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants