diff --git a/.github/workflows/lint-soft.yml b/.github/workflows/lint-soft.yml index c7a9317..b6c06e6 100644 --- a/.github/workflows/lint-soft.yml +++ b/.github/workflows/lint-soft.yml @@ -3,6 +3,11 @@ on: push: pull_request: +permissions: + contents: read + # Optional: allow read access to pull request. Use with `only-new-issues` option. + pull-requests: read + jobs: golangci: name: lint-soft diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe900a2..74f4c5c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,6 +3,11 @@ on: push: pull_request: +permissions: + contents: read + # Optional: allow read access to pull request. Use with `only-new-issues` option. + pull-requests: read + jobs: golangci: name: lint