Skip to content

Commit 3c94a1e

Browse files
committed
update static deploy workflow permissions
1 parent 92573c0 commit 3c94a1e

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/pr_closed.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: false
1313

14+
permissions:
15+
contents: read
16+
packages: read
17+
1418
jobs:
1519
check-merge-or-workflow-dispatch:
1620
runs-on: ubuntu-latest
@@ -39,7 +43,6 @@ jobs:
3943

4044
permissions:
4145
id-token: write
42-
contents: read
4346

4447
strategy:
4548
max-parallel: 1
@@ -70,9 +73,6 @@ jobs:
7073
outputs:
7174
version_changed: ${{ steps.check-version.outputs.version_changed }}
7275
runs-on: ubuntu-latest
73-
permissions:
74-
contents: read
75-
packages: read
7676
steps:
7777
- name: Checkout code
7878
uses: actions/[email protected]
@@ -107,9 +107,6 @@ jobs:
107107
needs: check-event-schemas-version-change
108108
if: needs.check-event-schemas-version-change.outputs.version_changed == 'true'
109109
runs-on: ubuntu-latest
110-
permissions:
111-
contents: read
112-
packages: read
113110
steps:
114111
- name: "Checkout code"
115112
uses: actions/[email protected]
@@ -135,7 +132,6 @@ jobs:
135132
if: needs.check-event-schemas-version-change.outputs.version_changed == 'true'
136133
runs-on: ubuntu-latest
137134
permissions:
138-
contents: read
139135
packages: write
140136

141137
steps:

.github/workflows/release_created.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
permissions:
1717
id-token: write
1818
contents: read
19+
packages: read
1920

2021
strategy:
2122
max-parallel: 1

infrastructure/terraform/components/api/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ No requirements.
1212
| <a name="input_aws_account_id"></a> [aws\_account\_id](#input\_aws\_account\_id) | The AWS Account ID (numeric) | `string` | n/a | yes |
1313
| <a name="input_ca_pem_filename"></a> [ca\_pem\_filename](#input\_ca\_pem\_filename) | Filename for the CA truststore file within the s3 bucket | `string` | `null` | no |
1414
| <a name="input_component"></a> [component](#input\_component) | The variable encapsulating the name of this component | `string` | `"supapi"` | no |
15+
| <a name="input_core_account_id"></a> [core\_account\_id](#input\_core\_account\_id) | AWS Account ID for Core | `string` | `"000000000000"` | no |
16+
| <a name="input_core_environment"></a> [core\_environment](#input\_core\_environment) | Environment of Core | `string` | `"prod"` | no |
1517
| <a name="input_default_tags"></a> [default\_tags](#input\_default\_tags) | A map of default tags to apply to all taggable resources within the component | `map(string)` | `{}` | no |
1618
| <a name="input_enable_backups"></a> [enable\_backups](#input\_enable\_backups) | Enable backups | `bool` | `false` | no |
1719
| <a name="input_environment"></a> [environment](#input\_environment) | The name of the tfscaffold environment | `string` | n/a | yes |

0 commit comments

Comments
 (0)