File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 2727 - " True"
2828 - " False"
2929 default : " False"
30+ run_on_pr :
31+ description : " Select 'True' to allow execution on pull requests when using workflow_dispatch. Defaults to 'False'"
32+ required : false
33+ type : choice
34+ options :
35+ - " True"
36+ - " False"
37+ default : " False"
3038
3139jobs :
3240 test-linode-cli :
3341 runs-on : ubuntu-latest
34- if : github.event_name == 'workflow_dispatch' && inputs.sha != '' || github.event_name == 'push' || github.event_name == 'pull_request'
42+ if : |
43+ github.event_name == 'workflow_dispatch' && inputs.sha != '' ||
44+ github.event_name == 'push' ||
45+ (github.event_name == 'pull_request' && inputs.run_on_pr == 'True')
3546
3647 steps :
3748 - name : Checkout Current Repository (JSON Spec)
5566 python-version : " 3.10"
5667
5768 - name : Get JSON Spec Path
58- run : echo "JSON_SPEC_PATH=$(pwd)/json-spec/spec .json" >> $GITHUB_ENV
69+ run : echo "JSON_SPEC_PATH=$(pwd)/json-spec/openapi .json" >> $GITHUB_ENV
5970
6071 - name : Install Linode CLI dependencies
6172 run : |
You can’t perform that action at this time.
0 commit comments