mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 19:50:05 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
paths:
|
||||||
|
- "backend/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
paths:
|
||||||
|
- "backend/**"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
# Required: allow read access to the content for analysis.
|
# Required: allow read access to the content for analysis.
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user