aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 48972fd..c250bf7 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -4,6 +4,15 @@ on:
branches:
- master
pull_request:
+
+permissions:
+ # Required: allow read access to the content for analysis.
+ contents: read
+ # Optional: allow read access to pull request. Use with `only-new-issues` option.
+ pull-requests: read
+ # Optional: Allow write access to checks to allow the action to annotate code in the PR.
+ checks: write
+
jobs:
lint:
runs-on: ubuntu-latest