Skip to content

Commit 50985f1

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Enact some security improvements that I'd missed in previous rounds.
For each project, that includes some subset of: - `zizmor` fixes (this time for [excessive permissions](https://docs.zizmor.sh/audits/#excessive-permissions)): compare 754877f (or cl/957369925 for excessive permissions specifically) - migration off `styfle/cancel-workflow-action` (which requires write permissions): compare 68ac320 - Relatedly, set up cancellation for bazel_common using the replacement we're using elsewhere (`concurrency`), since bazel_common didn't have cancellation set up at all yet. - Dependabot `cooldown`: compare 9854090 RELNOTES=n/a PiperOrigin-RevId: 958410064
1 parent ad830bd commit 50985f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ concurrency:
1313
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1414
cancel-in-progress: true
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
test:
1821
name: "JDK ${{ matrix.java }}"

0 commit comments

Comments
 (0)