Skip to content
Myr

ci: add minimum GitHub token permissions for workflows (#1792)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Varun Sharma · committed by GitHub · parent 93d1913 · Browse files · 4 files+23 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>

Diff stats

4 files+23 added−0 removed

  • other:+23 added−0 removed

4 files+23 added−0 removed

modified:.github/workflows/labeler.yml+6 added
modified:.github/workflows/size-labeler.yml+5 added
modified:.github/workflows/stale.yml+6 added
modified:.github/workflows/test.yml+6 added
6 unmodified lines
78env:9 GO111MODULE: on1011permissions:12 contents: read1314jobs:151617 lic-headers:
14 unmodified lines
32 .333435 golangci-lint:36 permissions:37 contents: read # for actions/checkout to fetch code38 pull-requests: read # for golangci/golangci-lint-action to fetch pull requests39 runs-on: ubuntu-latest40 steps:4142 - uses: actions/checkout@v3
86 unmodified lines