File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed
Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 8585 uses : ./.github/workflows/required-spec-validations.yml
8686 secrets :
8787 api_bot_pat : ${{ secrets.api_bot_pat }}
88- jira_api_token : ${{ secrets.jira_api_token }}
8988 with :
9089 spectral_version : ${{ inputs.spectral_version }}
9190 env : ${{ inputs.env }}
Original file line number Diff line number Diff line change 1313 secrets : # all secrets are passed explicitly in this workflow
1414 api_bot_pat :
1515 required : true
16- jira_api_token :
17- required : true
1816permissions :
1917 contents : write
20- issues : write
2118
2219jobs :
2320 required-validations :
6764 pushd atlas-sdk-go
6865 make -e openapi-pipeline
6966 popd
70- retry-handler :
71- needs : [ required-validations ]
72- if : ${{ always() && contains(needs.*.result, 'failure') && fromJSON(github.run_attempt) < 3}}
73- runs-on : ubuntu-latest
74- steps :
75- - name : Checkout repository
76- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
77- with :
78- ref : main
79- token : ${{secrets.api_bot_pat}}
80- - env :
81- GH_REPO : ${{ github.repository }}
82- GH_TOKEN : ${{ secrets.api_bot_pat }}
83- run : gh workflow run retry-handler.yml -F run_id=${{ github.run_id }}
84-
85- failure-handler :
86- name : Failure Handler
87- needs : [ required-validations, retry-handler ]
88- if : ${{ always() && contains(needs.*.result, 'failure') && needs.retry-handler.result == 'skipped' }}
89- uses : ./.github/workflows/failure-handler.yml
90- with :
91- env : ${{ inputs.env }}
92- release_name : " Require OpenAPI Validation"
93- team_id : ${{ vars.JIRA_TEAM_ID_APIX_PLATFORM }}
94- secrets :
95- jira_api_token : ${{ secrets.JIRA_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments