Skip to content

Commit

Permalink
Lint PRs and adjust permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
demccormack committed May 27, 2023
1 parent 7d05b6b commit 93d2a71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Lint

on: push
on: [push, pull_request]

# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
checks: write
contents: write
contents: read
pull-requests: read

jobs:
run-linters:
Expand All @@ -16,7 +16,6 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v2

# Install your linters here
- name: Install Node.js dependencies
run: cd frontend && npm ci

Expand Down

0 comments on commit 93d2a71

Please sign in to comment.