File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 33 workflow_call :
44 inputs :
55 spectral_version :
6- description : ' Version of Spectral to use'
6+ description : ' Version of Spectral to use'
77 type : string
88 required : true
99 env :
1313 secrets : # all secrets are passed explicitly in this workflow
1414 api_bot_pat :
1515 required : true
16-
16+ jira_api_token :
17+ required : true
18+ workflow_dispatch :
19+ inputs :
20+ spectral_version :
21+ description : ' Version of Spectral to use'
22+ type : string
23+ required : true
24+ default : ' latest'
25+ env :
26+ description : ' Environment to validate the OpenAPI Spec for.'
27+ type : choice
28+ required : true
29+ options :
30+ - staging
31+ - production
1732
1833permissions :
1934 contents : write
2035 issues : write
2136 id-token : write
2237
23- jobs :
38+ jobs :
2439 optional-validations :
2540 runs-on : ubuntu-latest
2641 steps :
Original file line number Diff line number Diff line change 9696 uses : ./.github/workflows/optional-spec-validations.yml
9797 secrets :
9898 api_bot_pat : ${{ secrets.api_bot_pat }}
99+ jira_api_token : ${{ secrets.jira_api_token }}
99100 with :
100101 env : ${{ inputs.env }}
101102 spectral_version : ${{ vars.SPECTRAL_VERSION }}
You can’t perform that action at this time.
0 commit comments