File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ name: build_all_images
1111 NO_CACHE :
1212 required : true
1313 type : boolean
14- env :
15- BRANCH_NAME : ' ${{ github.event.pull_request.head.ref }}'
14+ permissions : {}
1615jobs :
1716 discover_folders :
1817 runs-on : ubuntu-latest
2221 project_folders : ${{ steps.find-folders.outputs.projects }}
2322 steps :
2423 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
24+ with :
25+ persist-credentials : false
2526
2627 - id : find-folders
2728 run : |
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ name: Build and push docker image
2020 EXTRA_COMMON :
2121 required : false
2222 type : string
23+ permissions : {}
2324
2425jobs :
2526 build_and_push_image :
6364 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6465 with :
6566 fetch-depth : 0
67+ persist-credentials : false
6668 - name : setup node
6769 uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
6870 with :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: merge to main workflow
22on :
33 push :
44 branches : [main]
5+ permissions : {}
56
67jobs :
78 get_config_values :
2728 pinned_image : ${{ needs.get_config_values.outputs.pinned_image }}
2829 branch_name : main
2930 tag_format : ${{ needs.get_config_values.outputs.tag_format }}
30- secrets : inherit
3131 build_all_images :
3232 needs :
3333 - tag_release
Original file line number Diff line number Diff line change 77 - cron : " 0 1 * * 6"
88 push :
99 branches : [main]
10+ permissions : {}
1011
1112jobs :
1213 delete-old-pushed-images :
2122 - name : Checkout local code
2223 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2324 with :
24- ref : ${{ env.BRANCH_NAME }}
2525 fetch-depth : 0
26+ persist-credentials : false
2627
2728 - name : delete unused images
2829 shell : bash
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ name: pull_request
33 pull_request :
44 branches :
55 - main
6- env :
7- BRANCH_NAME : ' ${{ github.event.pull_request.head.ref }}'
6+ permissions : {}
87jobs :
98 dependabot-auto-approve-and-merge :
109 needs : quality_checks
6362 - name : Checkout code
6463 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6564 with :
66- ref : ' ${{ env.BRANCH_NAME }} '
65+ persist-credentials : false
6766 - name : Get Commit ID
6867 id : commit_id
6968 run : |
Original file line number Diff line number Diff line change 33 workflow_dispatch :
44 schedule :
55 - cron : " 0 18 * * 3"
6+ permissions : {}
67
78jobs :
89 get_config_values :
You can’t perform that action at this time.
0 commit comments