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

add GH_TOKEN for ArgoCD hooks #41

Open
shsingh opened this issue Jun 3, 2023 · 3 comments
Open

add GH_TOKEN for ArgoCD hooks #41

shsingh opened this issue Jun 3, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@shsingh
Copy link
Contributor

shsingh commented Jun 3, 2023

Is it possible to change this token so its not using your PAT and using the repo or API token used in other scripts?
Screenshot 2023-06-03 at 10 11 20

@shsingh shsingh added the enhancement New feature or request label Jun 3, 2023
@leonseng
Copy link
Contributor

leonseng commented Jun 4, 2023

Can't use the repo Github token as it's not being run in GH action. Argocd is running a script to call the Github API to set the status of the commit, as an external client, so a PAT is required. Perhaps a separate GH "robot" account for all things automation?

@shsingh
Copy link
Contributor Author

shsingh commented Jun 4, 2023 via email

@shsingh shsingh changed the title GH_TOKEN for ArgoCD hooks add GH_TOKEN for ArgoCD hooks Jun 27, 2023
@shsingh
Copy link
Contributor Author

shsingh commented Jul 13, 2023

could we change this to an org based PAT for apcj-f5 @leonseng ? would that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants