Update workflows to read-all instead of write-all #3182
Workflow file for this run
This file contains hidden or 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
--- | |
name: Typos | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
# CKV2_GHA_1: "Ensure top-level permissions are not set to write-all" | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# https://woodruffw.github.io/zizmor/audits/#artipacked | |
persist-credentials: false | |
- name: typos-action | |
uses: crate-ci/typos@v1.28.1 |