1- name : Starter Workflow
2- on : [workflow_dispatch, push, pull_request]
1+ name : Keyfactor Bootstrap Workflow
32
4- jobs :
5- call-create-github-release-workflow :
6- uses : Keyfactor/actions/.github/workflows/github-release.yml@main
7-
8- call-assign-from-json-workflow :
9- uses : Keyfactor/actions/.github/workflows/assign-env-from-json.yml@main
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ types : [opened, closed, synchronize, edited, reopened]
7+ push :
8+ create :
9+ branches :
10+ - ' release-*.*'
1011
11- call-dotnet-build-and-release-workflow :
12- needs : [call-create-github-release-workflow, call-assign-from-json-workflow]
13- uses : Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
12+ jobs :
13+ call-starter-workflow :
14+ uses : keyfactor/actions/.github/workflows/starter.yml@v4
15+ permissions :
16+ contents : write # Explicitly grant write permission
1417 with :
15- release_version : ${{ needs.call-create-github-release-workflow.outputs.release_version }}
16- release_url : ${{ needs.call-create-github-release-workflow.outputs.release_url }}
17- release_dir : ${{ needs.call-assign-from-json-workflow.outputs.release_dir }}
18-
19- secrets :
20- token : ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
21-
22- call-generate-readme-workflow :
23- if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
24- uses : Keyfactor/actions/.github/workflows/generate-readme.yml@main
18+ command_token_url : ${{ vars.COMMAND_TOKEN_URL }}
19+ command_hostname : ${{ vars.COMMAND_HOSTNAME }}
20+ command_base_api_path : ${{ vars.COMMAND_API_PATH }}
2521 secrets :
26- token : ${{ secrets.APPROVE_README_PUSH }}
27-
28- call-update-catalog-workflow :
29- needs : call-assign-from-json-workflow
30- if : needs.call-assign-from-json-workflow.outputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
31- uses : Keyfactor/actions/.github/workflows/update-catalog.yml@main
32- secrets :
33- token : ${{ secrets.SDK_SYNC_PAT }}
22+ token : ${{ secrets.V2BUILDTOKEN }}
23+ gpg_key : ${{ secrets.KF_GPG_PRIVATE_KEY }}
24+ gpg_pass : ${{ secrets.KF_GPG_PASSPHRASE }}
25+ scan_token : ${{ secrets.SAST_TOKEN }}
26+ entra_username : ${{ secrets.DOCTOOL_ENTRA_USERNAME }}
27+ entra_password : ${{ secrets.DOCTOOL_ENTRA_PASSWD }}
28+ command_client_id : ${{ secrets.COMMAND_CLIENT_ID }}
29+ command_client_secret : ${{ secrets.COMMAND_CLIENT_SECRET }}
0 commit comments