-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Address zizmor issues in db-performance-test Most of the issues are template injection that's not actually subject to template injection. Fixes #2269 Signed-off-by: Ben Cotton <ben@kusari.dev> * Fix zizmor issues in nightly release workflow Fixes #2270 Signed-off-by: Ben Cotton <ben@kusari.dev> * Don't persist credentials in checkout for postmerge workflow Fixes #2271 Signed-off-by: Ben Cotton <ben@kusari.dev> * Fix zizmor issues in release workflow * Don't persist credentials in checkout * Scope permissions to the necessary jobs * Ignore safe uses of `ref_name` Fixes #2272 Signed-off-by: Ben Cotton <ben@kusari.dev> * Don't persist credentials in checkout Fixes #2274 Signed-off-by: Ben Cotton <ben@kusari.dev> --------- Signed-off-by: Ben Cotton <ben@kusari.dev>
- Loading branch information
1 parent
60f43a3
commit 07c814a
Showing
6 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Configuration file for zizmor: https://github.com/woodruffw/zizmor | ||
rules: | ||
template-injection: | ||
ignore: | ||
# Values of `matrix.database` are defined in the workflow file | ||
- db-performance-test.yaml:98:9 | ||
# For the next three, exploiting template injection would require first | ||
# compromising the guac-data repo in a way that causes guacone to produce | ||
# exploit-triggering text | ||
- db-performance-test.yaml:152:9 | ||
- db-performance-test.yaml:158:9 | ||
- db-performance-test.yaml:167:9 | ||
# `env.NIGHTLY_RELEASE_TAG` is defined in the workflow file | ||
- nightly-release.yaml:54:9 | ||
# The release workflow only runs against well-defined tags and requires | ||
# maintainer action to trigger, so using `github.ref_name` in a template | ||
# is low-risk | ||
- release.yaml:201:9 | ||
- release.yaml:217:9 | ||
- release.yaml:228:9 |