Skip to content

Commit cdc5d45

Browse files
committed
ci: address zizmor findings (scope permissions, repin checkout, use pull_request trigger)
1 parent 46206f1 commit cdc5d45

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/mirror-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
name: Mirror Toolbox Changelog
1616

1717
on:
18-
pull_request_target:
18+
pull_request:
1919
types: [opened, edited]
2020

2121
jobs:

.github/workflows/presubmit-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ on:
2020
jobs:
2121
run-presubmit-tests:
2222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
2325
steps:
2426
- name: Check out code
25-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2628

2729
- name: Install Gemini CLI
2830
run: npm install @google/gemini-cli

0 commit comments

Comments
 (0)