1- name : Starter Workflow
2- on : workflow_dispatch
1+ name : Keyfactor Bootstrap Workflow
32
4- jobs :
5- catalog-update-check :
6- runs-on : windows-latest
7- outputs :
8- upd_cat : ${{ steps.read-json.outputs.prop }}
9- steps :
10- - uses : actions/checkout@v3
11- - name : Read json
12- id : read-json
13- shell : pwsh
14- run : |
15- $json = Get-Content integration-manifest.json | ConvertFrom-Json
16- echo "::set-output name=prop::$(echo $json.update_catalog)"
17-
18- # call-create-github-release-workflow:
19- # uses: Keyfactor/actions/.github/workflows/github-release.yml@main
20-
21- # call-dotnet-build-and-release-workflow:
22- # needs: [call-create-github-release-workflow]
23- # uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
24- # with:
25- # release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
26- # release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
27- # release_dir: SslStoreCaProxy/bin/Release
28- # secrets:
29- # token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ types : [opened, closed, synchronize, edited, reopened]
7+ push :
8+ create :
9+ branches :
10+ - ' release-*.*'
3011
31- call-generate-readme-workflow :
32- if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
33- uses : Keyfactor /actions/.github/workflows/generate-readme .yml@main
12+ jobs :
13+ call-starter-workflow :
14+ uses : keyfactor /actions/.github/workflows/starter .yml@v2
3415 secrets :
35- token : ${{ secrets.APPROVE_README_PUSH }}
36-
37- call-update-catalog-workflow :
38- needs : catalog-update-check
39- if : needs.catalog-update-check.outputs.upd_cat == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
40- uses : Keyfactor/actions/.github/workflows/update-catalog.yml@main
41- secrets :
42- token : ${{ secrets.SDK_SYNC_PAT }}
43-
16+ token : ${{ secrets.V2BUILDTOKEN}}
17+ APPROVE_README_PUSH : ${{ secrets.APPROVE_README_PUSH}}
18+ gpg_key : ${{ secrets.KF_GPG_PRIVATE_KEY }}
19+ gpg_pass : ${{ secrets.KF_GPG_PASSPHRASE }}
0 commit comments