Skip to content
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

feat: add lines.repositories.include #1185

Closed
wants to merge 3 commits into from

Conversation

ctjlewis
Copy link

Attempting to add a repositories.include option to lines which will let me add repos to the queue that I have contributed to, but don't have push access to.

@ctjlewis
Copy link
Author

Trying to figure out how to trigger the if (q.repo) branch.

@lowlighter
Copy link
Owner

Trying to figure out how to trigger the if (q.repo) branch.

Everything in q is "raw user input" (what it passed through query params), so you can trigger it by accessing localhost:3000/user?repo=name&template=repository (or localhost:3000/user/repo which is a shortcut for it too).

When q.repo is defined, it means the target is a repository rather than a user account (data.user.repositories.nodes will only have target repository in it)

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity.

@github-actions github-actions bot closed this Sep 9, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants