File tree Expand file tree Collapse file tree 2 files changed +14
-19
lines changed
Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- permissions :
4- contents : read
3+ permissions : {}
54
65on :
76 pull_request :
87 push :
98 branches :
109 - alpha
1110 - beta
11+ - main
1212 - master
1313 - renovate/**
1414
1515jobs :
16- prepare_jobs :
17- name : " Prepare: job optimization"
18- runs-on : ubuntu-latest
19- outputs :
20- pr_found : ${{ steps.pr.outputs.pr_found }}
21- steps :
22- - name : Get current PR
23- id : pr
24- uses : 8BitJonny/gh-get-current-pr@4056877062a1f3b624d5d4c2bedefa9cf51435c9 # 4.0.0
25- with :
26- filterOutClosed : true
27- filterOutDraft : true
16+ ci-optimization :
17+ name : CI optimization
18+ uses : dargmuesli/github-actions/.github/workflows/ci-optimization.yml@714a68188444d710ffa3e9f35a05f6a9d420931d # 3.2.0
19+ permissions :
20+ pull-requests : read
2821 release_semantic_dry :
29- needs : prepare_jobs
22+ needs : ci-optimization
23+ if : needs.ci-optimization.outputs.continue == 'true'
3024 name : Release (semantic, dry)
3125 uses : dargmuesli/github-actions/.github/workflows/release-semantic.yml@714a68188444d710ffa3e9f35a05f6a9d420931d # 3.2.0
32- if : needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request'
3326 permissions :
3427 contents : write
28+ id-token : write
3529 secrets :
3630 PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
3731 with :
4438 packages : write
4539 with :
4640 ARTIFACT_PATH : src/.output/public/
47- BUILD_ARGUMENTS : SITE_URL=https://dargstack-example.jonas-thelemann.de
41+ BUILD_ARGUMENTS : |
42+ SITE_URL=https://dargstack-example.jonas-thelemann.de
4843 TAG : ${{ needs.release_semantic_dry.outputs.new_release_version }}
4944 secrets :
5045 PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
5449 uses : dargmuesli/github-actions/.github/workflows/release-semantic.yml@714a68188444d710ffa3e9f35a05f6a9d420931d # 3.2.0
5550 permissions :
5651 contents : write
52+ id-token : write
5753 secrets :
5854 PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
5955 deploy :
Original file line number Diff line number Diff line change 11name : " Release: Scheduled"
22
3- permissions :
4- contents : read
3+ permissions : {}
54
65on :
76 schedule :
You can’t perform that action at this time.
0 commit comments