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

Request for GH Personal Access Token for plugin project. #4333

Closed
whitingjr opened this issue Oct 9, 2024 · 8 comments
Closed

Request for GH Personal Access Token for plugin project. #4333

whitingjr opened this issue Oct 9, 2024 · 8 comments
Assignees
Labels
github-permissions Request for GitHub permissiosn

Comments

@whitingjr
Copy link

GitHub repositories

Hi, I am requesting permission to create a Personal Access Token on jenkinsci organization. I am a Contributor on the horreum-plugin project and cannot create the PAT.
I have been tasked with adding a workflow to keep the plugin project and the Horreum project version aligned.
The workflow needs a PAT to control incoming workflow messages.
Is it possible I be granted Maintainer permissions necessary to create a PAT or, can a PAT be created for me to use on Horreum project ?

GitHub users to have permission

whitingjr

Permission level

Maintain

Justification

Permissions necessary for creating a Personal Access Token.

@whitingjr whitingjr added github-permissions Request for GitHub permissiosn triage Incoming issues that need review labels Oct 9, 2024
@timja
Copy link
Member

timja commented Oct 9, 2024

(see discussion at jenkinsci/horreum-plugin#23)

I've invited you to the organisation, you already had the maintain permission.

@whitingjr
Copy link
Author

@timja thank you for adding me to the organization.

@whitingjr
Copy link
Author

@timja Now that I have been added to the Team for horreum-plugin it does not allow me to create a PAT in the jenkinsci organization. For this request to progress I think I need to ping @jenkinsadmin

@dduportal
Copy link
Contributor

@whitingjr you should try running the workflow with the GITHUB_TOKEN : it is generated for 1 hour with your permissions.

more information in their documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication

@whitingjr
Copy link
Author

@dduportal The PR uses repository-dispatch and in this situation a remote cross organization dispatch from Horreum. Which requires a PAT not a regular GITHUB_TOKEN.

@lemeurherve
Copy link
Member

lemeurherve commented Oct 10, 2024

Another solution requiring only a regular GITHUB_TOKEN could be setting up an updatecli manifest to track upstream version: https://www.updatecli.io/

@whitingjr
Copy link
Author

@lemeurherve I'll investigate looking at this and other bots such as dependabot.

@whitingjr
Copy link
Author

Use of a bot has solved what was needed.

@dduportal dduportal added this to the infra-team-sync-2024-10-15 milestone Oct 15, 2024
@dduportal dduportal removed the triage Incoming issues that need review label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github-permissions Request for GitHub permissiosn
Projects
None yet
Development

No branches or pull requests

4 participants