Merge pull request #3325 from akhildevelops/ignore-paths-ci

Don't run github actions on ignored paths.
This commit is contained in:
RustDesk 2023-02-22 13:45:17 +08:00 committed by GitHub
commit 120a953976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"