Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Experiment to try and reduce the latency

Manav Rathicfe9178301c7
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index c64463384c..6655587175 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -2,10 +2,21 @@ name: "Lint (web)"
on:
# Run on every pull request (open or push to it) that changes web/
+ #
+ # This is for running lints on pull requests from external contributors.
pull_request:
paths:
- "web/**"
- ".github/workflows/web-lint.yml"
+ # Run on every push (to a non-main branch) that changes web/
+ #
+ # This reduces the delay in waiting for the pull_request to kick in for the
+ # PRs from existing contributors.
+ push:
+ branches-ignore: [main]
+ paths:
+ - "web/**"
+ - ".github/workflows/web-lint.yml"
jobs:
lint: