Skip to content

Commit cd80e84

Browse files
ci: reduce ci permissions to read only + gist for tests
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent d98b150 commit cd80e84

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ on:
66
pull_request:
77
branches: [master]
88

9+
permissions:
10+
contents: read
11+
912
env:
1013
CARGO_TERM_COLOR: always
1114

1215
jobs:
1316
test:
17+
permissions:
18+
contents: read
19+
gist: write
1420
runs-on: ubuntu-latest
1521
steps:
1622
- uses: actions/checkout@v7

0 commit comments

Comments
 (0)