You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using pac via Github App, after Github App is installed, while running tkn pac create repo command it should directly generate the pipelinerun yaml and create the repository CR
Actual Behaviour:
While using pac via Github App, after Github App is installed, while running tkn pac create repo command it does not generate the pipelinerun yaml and also asks for access token
Steps to reproduce
Run tkn pac bootstrap --github-api-url https://ghe.xxx.com/
Run tkn pac create repo . After that while executing it asks for personal access token which it should not ask ideally
tkn pac create repo
? Enter the Git repository url (default: https://ghe.xxx.com/pac/test-incoming-webhook):
? Please enter the namespace where the pipeline should run (default: test-incoming-webhook-pipelines):
! Namespace test-incoming-webhook-pipelines is not found
? Would you like me to create the namespace test-incoming-webhook-pipelines? Yes
✓ Repository pac-test-incoming-webhook has been created in test-incoming-webhook-pipelines namespace
? Please select the type of the git platform to setup webhook: github 👈🏻 Ideally it should skip from here
✓ Setting up GitHub Webhook for Repository https://ghe.xxx.com/pac/test-incoming-webhook
👀 I have detected a controller url: https://controller.url.com/
? Do you want me to use it? Yes
? Please enter the secret to configure the webhook for payload validation (default: xxxxx): xxxxx
ℹ ️You now need to create a GitHub personal access token, please checkout the docs at https://is.gd/KJ1dDH for the required scopes
? Please enter the GitHub access token:
Error: interrupt
The text was updated successfully, but these errors were encountered:
Expected Behaviour :
tkn pac create repo
command it should directly generate the pipelinerun yaml and create the repository CRActual Behaviour:
tkn pac create repo
command it does not generate the pipelinerun yaml and also asks for access tokenSteps to reproduce
tkn pac bootstrap --github-api-url https://ghe.xxx.com/
tkn pac create repo
. After that while executing it asks for personal access token which it should not ask ideallyThe text was updated successfully, but these errors were encountered: