mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-04 13:21:45 +00:00
ci/cd: run linter only on backend changes
This commit is contained in:
11
.github/workflows/backend-linter.yml
vendored
11
.github/workflows/backend-linter.yml
vendored
@@ -2,11 +2,14 @@ name: Run Backend Linter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [main]
|
||||
paths:
|
||||
- "backend/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
branches: [main]
|
||||
paths:
|
||||
- "backend/**"
|
||||
|
||||
permissions:
|
||||
# Required: allow read access to the content for analysis.
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user