File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 issue_comment :
55 types : [created]
66 workflow_call :
7+ inputs :
8+ is-release :
9+ description : Whether this is invoked from the Release workflow (skip PR permission gating).
10+ type : boolean
11+ required : false
12+ default : false
713 secrets :
814 SURGE_LOGIN :
915 required : true
2329 if : >-
2430 always() &&
2531 !cancelled() &&
26- (github.event_name == 'workflow_call' || needs.check-permissions.outputs.allowed == 'true')
32+ (inputs.is-release || needs.check-permissions.outputs.allowed == 'true')
2733 env :
2834 SURGE_LOGIN : ${{ secrets.SURGE_LOGIN }}
2935 SURGE_TOKEN : ${{ secrets.SURGE_TOKEN }}
3945 ref : refs/pull/${{ env.GH_PR_NUM }}/head
4046
4147 - name : Check out project
42- if : github.event_name == 'workflow_call'
48+ if : inputs.is-release || github.event_name == 'workflow_call'
4349 uses : actions/checkout@v4
4450 - name : Set up and build project
4551 uses : ./.github/actions/setup-project
Original file line number Diff line number Diff line change 1414 docs :
1515 name : Documentation
1616 uses : ./.github/workflows/documentation.yml
17+ with :
18+ is-release : true
1719 secrets : inherit
1820
1921 deploy :
You can’t perform that action at this time.
0 commit comments