Manav Rathi 2024-03-05 13:15:34 +05:30 committed by GitHub
commit ef553d9401
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 7 deletions

View file

@ -1,12 +1,13 @@
name: "Lint (auth)"
on:
# Run on every push (this also covers pull requests)
# Run on every push to branches (this also covers pull requests)
push:
# See: [Note: Specify branch when specifying a path filter]
branches: ["**"]
# Only run if something changes in these paths
paths:
# - But only if something changes inside auth
- "auth/**"
# - Or if the there is some change in workflow itself
- ".github/workflows/auth-lint.yml"
jobs:

View file

@ -3,10 +3,11 @@ name: "Lint (mobile)"
on:
# Run on every push (this also covers pull requests)
push:
# See: [Note: Specify branch when specifying a path filter]
branches: ["**"]
# Only run if something changes in these paths
paths:
# - But only if something changes inside mobile
- "mobile/**"
# - Or if the there is some change in workflow itself
- ".github/workflows/mobile-lint.yml"
jobs:

View file

@ -3,10 +3,20 @@ name: "Lint (web)"
on:
# Run on every push (this also covers pull requests)
push:
# [Note: Specify branch when specifying a path filter]
#
# Path filters are ignored for tag pushes, which causes this workflow to
# always run when we push a tag. Defining an explicit branch solves the
# issue. From GitHub's docs:
#
# > if you define both branches/branches-ignore and paths/paths-ignore,
# > the workflow will only run when both filters are satisfied.
#
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
branches: ["**"]
# Only run if something changes in these paths
paths:
# - But only if something changes inside web
- "web/**"
# - Or if the there is some change in workflow itself
- ".github/workflows/web-lint.yml"
jobs: