File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 3434 group : ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}-${{ inputs.is_PR && 'is_PR' || 'not_PR'}}
3535 cancel-in-progress : true
3636
37+ permissions :
38+ contents : read
39+
3740 env :
3841 STORE_FILE_PATH : /tmp/app-debug.keystore
3942 BUILD_JSON_PATH : build.json
4447 timeout-minutes : 60
4548 runs-on : ubuntu-latest
4649 if : github.repository_owner == 'Acode-Foundation'
47-
50+
51+ permissions :
52+ # contents write is needed to create Nightly Releases.
53+ contents : write
54+ issues : write
55+ pull-requests : write
56+
4857 outputs :
4958 release_output_url : ${{ steps.release.outputs.url }}
5059 updated_version : ${{ steps.update-version.outputs.UPDATED_VERSION}}
Original file line number Diff line number Diff line change 77# - '.github/**'
88 types : [labeled, synchronize]
99
10-
10+ # defined at workflow-level as the workflow, Requires these permissions to function.
1111permissions :
1212 contents : write
1313 pull-requests : write
2323 job_trigger :
2424 name : Trigger Preview Release (if conditions met)
2525 if : |
26- (github.repository_owner == 'Acode-Foundation'
26+ github.event.pull_request.draft == false
27+ && (github.repository_owner == 'Acode-Foundation'
2728 && (!contains(github.event.pull_request.labels.*.name, 'DO NOT PREVIEW RELEASE')
2829 && (contains(github.event.pull_request.labels.*.name, 'Bypass check - PREVIEW RELEASE')
2930 || contains(github.event.pull_request.labels.*.name, 'CI: RUN ON-DEMAND PREVIEW RELEASES')))
You can’t perform that action at this time.
0 commit comments