Commit 685d3b1
ci: correct trivy tag and make the build artifact non-empty
trivy-action tags are v-prefixed from 0.33.0 onward; @0.36.0 does not
resolve and failed the Security Scan job at set-up.
The build artifact uploaded nothing: ".next" is a dotfile directory and
upload-artifact skips hidden paths unless include-hidden-files is set.
This was pre-existing -- the build job had never run to completion, so
it had never been observed.
Verified the path patterns directly against @actions/glob (the library
upload-artifact uses): with hidden files included, ".next/" matches 202
entries and the "!.next/cache/" exclusion brings that to 140.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7d8f33d commit 685d3b1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
131 | | - | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
0 commit comments