From 9191943068ece6fdbc7db1288a3120df1be2fb56 Mon Sep 17 00:00:00 2001 From: Man Ting Chan Date: Mon, 15 Jan 2024 12:55:52 +0000 Subject: [PATCH] test adding auth requirement and tokens --- catalog-info.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/catalog-info.yaml b/catalog-info.yaml index 8c7b8817a..719c609bd 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -45,6 +45,11 @@ spec: type: string ui:field: RepoUrlPicker ui:options: + requestUserCredentials: + secretsKey: USER_OAUTH_TOKEN + additionalScopes: + github: + - workflow allowedHosts: - github.com description: @@ -103,6 +108,7 @@ spec: allowedHosts: ['github.com'] description: This is ${{ parameters.name }} repoUrl: ${{ parameters.repoUrl }} + token: ${{ secrets.USER_OAUTH_TOKEN }} output: links: