You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,15 @@ If version is `"latest"`, the action will get the latest version number using [O
13
13
14
14
Default: `"latest"`
15
15
16
+
### `checksums`
17
+
18
+
**Optional** A newline-delimited list of valid checksums (SHA256 hashes) for the downloaded TFLint binary. When set, the action will verify that the binary matches one of these checksums before proceeding.
19
+
20
+
This ensures that the downloaded binary for a given version is a known build. If your job runs in multiple operating systems or architectures, include appropriate checksums for all of them.
21
+
22
+
**Note:** Checksums ensure _immutability_, but do not verify integrity. To prove that checksums come from a known build in TFLint's official repository, use [GitHub’s Artifact Attestations](https://github.com/terraform-linters/tflint?tab=readme-ov-file#github-cli-recommended) or [cosign](https://github.com/terraform-linters/tflint?tab=readme-ov-file#cosign).
23
+
24
+
16
25
### `github_token`
17
26
18
27
Used to authenticate requests to the GitHub API to obtain release data from the TFLint repository. Authenticating will increase the [API rate limit](https://developer.github.com/v3/#rate-limiting). Any valid token is supported. No permissions are required.
@@ -32,7 +41,7 @@ Default: `"false"`
32
41
The following outputs are available when the `tflint_wrapper` input is enabled:
33
42
34
43
-`stdout` - The output (stdout) produced by the tflint command.
35
-
-`stderr` - The error output (stdout) produced by the tflint command.
44
+
-`stderr` - The error output (stderr) produced by the tflint command.
36
45
-`exitcode` - The exit code produced by the tflint command.
Copy file name to clipboardExpand all lines: action.yml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ inputs:
13
13
description: Installs a wrapper script to wrap subsequent calls to `tflint` and expose `stdout`, `stderr`, and `exitcode` outputs
14
14
default: 'false'
15
15
required: false
16
+
checksums:
17
+
description: Newline-delimited list of valid checksums (SHA256 hashes) for the downloaded TFLint binary. When set, the action will verify that the binary matches one of these checksums before proceeding.
18
+
required: false
16
19
outputs:
17
20
stdout:
18
21
description: The output (stdout) produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.
0 commit comments