File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,9 @@ concurrency:
2020
2121jobs :
2222 prepare :
23- # not starting for PRs if repo is private because we cannot write to private forks
23+ # WARN: writing to private forks is not supported
2424 if : github.event_name == 'workflow_dispatch' ||
25- (github.event_name == 'pull_request_target' &&
26- github.event.pull_request.head.repo.private == false) ||
25+ github.event_name == 'pull_request_target' ||
2726 (github.event_name == 'workflow_run' &&
2827 github.event.workflow_run.conclusion == 'success')
2928 permissions :
@@ -109,7 +108,7 @@ jobs:
109108 run : node lib/actions/fix-yaml-config.js
110109 working-directory : scripts
111110 - name : Upload YAML config
112- uses : actions/upload-artifact@v3
111+ uses : actions/upload-artifact@v4
113112 with :
114113 name : ${{ env.TF_WORKSPACE }}.yml
115114 path : github/${{ env.TF_WORKSPACE }}.yml
@@ -153,7 +152,7 @@ jobs:
153152 with :
154153 path : base
155154 - name : Download YAML configs
156- uses : actions/download-artifact@v3
155+ uses : actions/download-artifact@v4
157156 with :
158157 path : artifacts
159158 - name : Copy YAML configs
Original file line number Diff line number Diff line change 9393 terraform plan -refresh=false -lock=false -out="${TF_WORKSPACE}.tfplan" -no-color
9494 working-directory : terraform
9595 - name : Upload terraform plan
96- uses : actions/upload-artifact@v3
96+ uses : actions/upload-artifact@v4
9797 with :
9898 name : ${{ env.TF_WORKSPACE }}_${{ github.event.pull_request.head.sha || github.sha }}.tfplan
9999 path : terraform/${{ env.TF_WORKSPACE }}.tfplan
@@ -130,7 +130,7 @@ jobs:
130130 run : terraform init
131131 working-directory : terraform
132132 - name : Download terraform plans
133- uses : actions/download-artifact@v3
133+ uses : actions/download-artifact@v4
134134 with :
135135 path : terraform
136136 - name : Show terraform plans
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4343- workflows: not to use deprecated GitHub Actions expressions anymore
4444- tf: to prevent destroy of membership and repository resources
4545- apply: find sha for plan using proper credentials
46+ - updated upload and download artifacts actions to v4
4647
4748### Fixed
4849- links to supported resources in HOWTOs
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ locals {
173173 } : {
174174 source = " config"
175175 index = repository
176- archived = config.archived
176+ archived = try ( config. archived , false )
177177 }
178178 ] : item.index = > merge (local. sources [item . source ]. github_repository . this [item . index ], { archived = item.archived })
179179 }
You can’t perform that action at this time.
0 commit comments