Skip to content

Commit f4cac73

Browse files
committed
feat(doctool): Add support for doctool taking screenshots.
1 parent 9b30b5f commit f4cac73

2 files changed

Lines changed: 51 additions & 1 deletion

File tree

.github/workflows/generate-readme.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ on:
55
token:
66
description: 'Secret token from caller workflow to approve readme'
77
required: true
8+
entra_username:
9+
description: 'Entra username for authentication'
10+
required: true
11+
entra_password:
12+
description: 'Entra password for authentication'
13+
required: false
14+
command_client_id:
15+
description: 'Command client ID for API authentication'
16+
required: false
17+
command_client_secret:
18+
description: 'Command client secret for API authentication'
19+
required: false
20+
command_token_url:
21+
description: 'URL for obtaining command tokens'
22+
required: false
23+
command_hostname:
24+
description: 'Command hostname for API endpoints'
25+
required: false
826
permissions:
927
contents: write
1028

@@ -25,3 +43,10 @@ jobs:
2543
id: launch-doctool
2644
with:
2745
token: ${{ secrets.token }}
46+
entra_username: ${{ secrets.ENTRA_USERNAME }}
47+
entra_password: ${{ secrets.ENTRA_PASSWORD }}
48+
command_client_id: ${{ secrets.COMMAND_CLIENT_ID }}
49+
command_client_secret: ${{ secrets.COMMAND_CLIENT_SECRET }}
50+
command_token_url: ${{ secrets.COMMAND_TOKEN_URL }}
51+
command_hostname: ${{ secrets.COMMAND_HOSTNAME }}
52+

.github/workflows/starter.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,25 @@ on:
2525
scan_token:
2626
description: 'Polaris token'
2727
required: false
28+
entra_username:
29+
description: 'Entra username for authentication'
30+
required: true
31+
entra_password:
32+
description: 'Entra password for authentication'
33+
required: false
34+
command_client_id:
35+
description: 'Command client ID for API authentication'
36+
required: false
37+
command_client_secret:
38+
description: 'Command client secret for API authentication'
39+
required: false
40+
command_token_url:
41+
description: 'URL for obtaining command tokens'
42+
required: false
43+
command_hostname:
44+
description: 'Command hostname for API endpoints'
45+
required: false
46+
2847

2948

3049
jobs:
@@ -131,9 +150,15 @@ jobs:
131150

132151
call-generate-readme-workflow:
133152
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
134-
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@v3
153+
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@3.2.0-rc.9
135154
secrets:
136155
token: ${{ secrets.token }}
156+
entra_username: ${{ secrets.ENTRA_USERNAME }}
157+
entra_password: ${{ secrets.ENTRA_PASSWORD }}
158+
command_client_id: ${{ secrets.COMMAND_CLIENT_ID }}
159+
command_client_secret: ${{ secrets.COMMAND_CLIENT_SECRET }}
160+
command_token_url: ${{ secrets.COMMAND_TOKEN_URL }}
161+
command_hostname: ${{ secrets.COMMAND_HOSTNAME }}
137162

138163
call-update-catalog-workflow:
139164
needs: call-assign-from-json-workflow

0 commit comments

Comments
 (0)