1- name : Generate README from templates and data files using doctool
2- on :
3- workflow_call :
4- secrets :
5- token :
6- description : ' Secret token from caller workflow to approve readme'
7- required : true
8- entra_username :
9- description : ' Entra username for authentication'
10- required : false
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- inputs :
21- command_token_url :
22- type : string
23- description : ' URL for obtaining command tokens'
24- required : false
25- command_hostname :
26- type : string
27- description : ' Command hostname for API endpoints'
28- required : false
29- command_base_api_path :
30- type : string
31- description : ' Base API path for the Command API'
32- required : false
33- permissions :
34- contents : write
35-
36- jobs :
37- update-docs :
38- runs-on : ubuntu-latest
39- name : Use private doctool action in public repository
40- steps :
41- - name : checkout-action
42- uses : keyfactor/checkout@v4
43- with :
44- repository : keyfactor/doctool
45- path : doctool
46- token : ${{ secrets.token }}
47-
48- - name : Launch local doctool
49- uses : ./doctool
50- id : launch-doctool
51- with :
52- token : ${{ secrets.token }}
53- entra_username : ${{ secrets.entra_username }}
54- entra_password : ${{ secrets.entra_password }}
55- command_client_id : ${{ secrets.command_client_id }}
56- command_client_secret : ${{ secrets.command_client_secret }}
57- command_token_url : ${{ vars.DOCTOOL_COMMAND_TOKEN_URL }}
58- command_hostname : ${{ vars.DOCTOOL_COMMAND_HOSTNAME }}
59- command_base_api_path : ${{ vars.DOCTOOL_COMMAND_BASE_API_PATH }}
1+ name : Generate README from templates and data files using doctool
2+ on :
3+ workflow_call :
4+ secrets :
5+ token :
6+ description : ' Secret token from caller workflow to approve readme'
7+ required : true
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ update-docs :
13+ runs-on : ubuntu-latest
14+ name : Use private doctool action in public repository
15+ steps :
16+ - name : Checkout integration repository
17+ uses : actions/checkout@v4
18+ with :
19+ token : ${{ secrets.token }}
20+
21+ - name : Checkout doctool action
22+ uses : actions/checkout@v4
23+ with :
24+ repository : keyfactor/doctooldotnet
25+ ref : feature/logging-and-docs
26+ path : doctooldotnet
27+ token : ${{ secrets.token }}
28+ clean : false
29+
30+ - name : Launch local doctool
31+ uses : ./doctooldotnet
32+ id : launch-doctool
33+ with :
34+ token : ${{ secrets.token }}
0 commit comments