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

🚀 Feature: "enable the GitHub apps" / "populate the secrets" to include links to the relevant URLs #1621

Open
2 tasks done
johnnyreilly opened this issue Aug 13, 2024 · 4 comments
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request

Comments

@johnnyreilly
Copy link
Sponsor Collaborator

johnnyreilly commented Aug 13, 2024

Bug Report Checklist

Overview

Consider the following:

Be sure to:

- enable the GitHub apps:
  - Codecov (https://github.com/apps/codecov)
  - Renovate (https://github.com/apps/renovate)
- populate the secrets:
  - ACCESS_TOKEN (a GitHub PAT with repo and workflow permissions)
  - NPM_TOKEN (an npm access token with automation permissions)

The URL to enable the GitHub apps is known and will take this form:

https://github.com/{ORGANISATION/USERNAME}/{REPO-NAME}/settings/installations

The URL to populate the secrets is known and will take this form:

https://github.com/{ORGANISATION/USERNAME}/{REPO-NAME}/settings/secrets/actions

Would it be useful to include those explicit links in the output? Something like this:

Be sure to:

- enable the GitHub apps: https://github.com/{ORGANISATION/USERNAME}/{REPO-NAME}/settings/installations
  - Codecov (https://github.com/apps/codecov)
  - Renovate (https://github.com/apps/renovate)
- populate the secrets: https://github.com/{ORGANISATION/USERNAME}/{REPO-NAME}/settings/secrets/actions
  - ACCESS_TOKEN (a GitHub PAT with repo and workflow permissions)
  - NPM_TOKEN (an npm access token with automation permissions)

Additional Info

It might also be nice to include a link to the created repo? https://github.com/{ORGANISATION/USERNAME}/{REPO-NAME}

As an aside, when creating a repo, I discovered no apps installed and disabled? Just an empty screen? Am I looking in the wrong place?

a screenshot of the issue mentioned
@johnnyreilly johnnyreilly added the type: feature New enhancement or request label Aug 13, 2024
Repository owner deleted a comment from github-actions bot Aug 13, 2024
@JoshuaKGoldberg JoshuaKGoldberg added the status: accepting prs Please, send a pull request to resolve this! label Aug 13, 2024
@JoshuaKGoldberg
Copy link
Owner

include links to the relevant URLs

Good idea, +1! Accepting PRs.

Long term it would be nice to actually try to do this for the user, but I don't know how that would work...

when creating a repo, I discovered no apps installed and disabled? Just an empty screen? Am I looking in the wrong place?

Have you gone through the apps URLs & installed them on the repo?

@johnnyreilly
Copy link
Sponsor Collaborator Author

johnnyreilly commented Aug 13, 2024

Have you gone through the apps URLs & installed them on the repo?

No - I assumed from the prompt this was something that CTA did. It doesn't? I took "enable the GitHub apps" to mean they were already installed in a disabled state. Are they not installed?

@JoshuaKGoldberg
Copy link
Owner

You have to do it manually. Maybe that's a docs improvement to be made?

@johnnyreilly
Copy link
Sponsor Collaborator Author

Yeah I think so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request
Projects
None yet
Development

No branches or pull requests

2 participants