File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,9 @@ concurrency:
20
20
21
21
jobs :
22
22
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
24
24
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' ||
27
26
(github.event_name == 'workflow_run' &&
28
27
github.event.workflow_run.conclusion == 'success')
29
28
permissions :
@@ -109,7 +108,7 @@ jobs:
109
108
run : node lib/actions/fix-yaml-config.js
110
109
working-directory : scripts
111
110
- name : Upload YAML config
112
- uses : actions/upload-artifact@v3
111
+ uses : actions/upload-artifact@v4
113
112
with :
114
113
name : ${{ env.TF_WORKSPACE }}.yml
115
114
path : github/${{ env.TF_WORKSPACE }}.yml
@@ -153,7 +152,7 @@ jobs:
153
152
with :
154
153
path : base
155
154
- name : Download YAML configs
156
- uses : actions/download-artifact@v3
155
+ uses : actions/download-artifact@v4
157
156
with :
158
157
path : artifacts
159
158
- name : Copy YAML configs
Original file line number Diff line number Diff line change 93
93
terraform plan -refresh=false -lock=false -out="${TF_WORKSPACE}.tfplan" -no-color
94
94
working-directory : terraform
95
95
- name : Upload terraform plan
96
- uses : actions/upload-artifact@v3
96
+ uses : actions/upload-artifact@v4
97
97
with :
98
98
name : ${{ env.TF_WORKSPACE }}_${{ github.event.pull_request.head.sha || github.sha }}.tfplan
99
99
path : terraform/${{ env.TF_WORKSPACE }}.tfplan
@@ -130,7 +130,7 @@ jobs:
130
130
run : terraform init
131
131
working-directory : terraform
132
132
- name : Download terraform plans
133
- uses : actions/download-artifact@v3
133
+ uses : actions/download-artifact@v4
134
134
with :
135
135
path : terraform
136
136
- 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
43
43
- workflows: not to use deprecated GitHub Actions expressions anymore
44
44
- tf: to prevent destroy of membership and repository resources
45
45
- apply: find sha for plan using proper credentials
46
+ - updated upload and download artifacts actions to v4
46
47
47
48
### Fixed
48
49
- links to supported resources in HOWTOs
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ locals {
173
173
} : {
174
174
source = " config"
175
175
index = repository
176
- archived = config.archived
176
+ archived = try ( config. archived , false )
177
177
}
178
178
] : item.index = > merge (local. sources [item . source ]. github_repository . this [item . index ], { archived = item.archived })
179
179
}
You can’t perform that action at this time.
0 commit comments