Don't run github actions on ignored paths.

This commit is contained in:
enforcer007 2023-02-22 10:54:16 +05:30
parent 78cbb487a8
commit 9873a2d700
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,9 @@ name: CI
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
paths-ignore:
- "docs/**"
- "README.md"
push: push:
branches: branches:
- master - master
@ -14,6 +17,8 @@ on:
- '*' - '*'
paths-ignore: paths-ignore:
- ".github/**" - ".github/**"
- "docs/**"
- "README.md"
jobs: jobs:
# ensure_cargo_fmt: # ensure_cargo_fmt:

View File

@ -3,6 +3,9 @@ name: Full Flutter CI
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
paths-ignore:
- "docs/**"
- "README.md"
push: push:
branches: branches:
- master - master
@ -10,6 +13,8 @@ on:
- '*' - '*'
paths-ignore: paths-ignore:
- ".github/**" - ".github/**"
- "docs/**"
- "README.md"
env: env:
LLVM_VERSION: "15.0.6" LLVM_VERSION: "15.0.6"