Skip to content

Commit

Permalink
ci: don't run CI on markdown updates (#1651)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Sep 25, 2023
1 parent 21f1bf7 commit d10745a
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "dio/**"
- "file/**"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "flutter/**"
- "file/**"
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/e2e_dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
- release/**
pull_request:
paths-ignore:
- 'logging/**'
- 'dio/**'
- 'flutter/**'
- 'file/**'
- 'sqflite/**'
- "**/*.md"
- "logging/**"
- "dio/**"
- "flutter/**"
- "file/**"
- "sqflite/**"

env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand All @@ -27,7 +28,7 @@ jobs:

build:
name: E2E
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
timeout-minutes: 30
defaults:
run:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "flutter/**"
- "dio/**"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "dio/**"
- "file/**"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flutter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "file/**"

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "dio/**"
- "flutter/**"
- "file/**"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ on:
- dart/**
- flutter/**
- metrics/**
- "!**/*.md"
branches-ignore:
- deps/**
- dependabot/**
tags-ignore: ['**']
tags-ignore: ["**"]

jobs:
cancel-previous-workflow:
Expand Down Expand Up @@ -59,8 +60,8 @@ jobs:
- uses: actions/setup-java@v3
if: ${{ matrix.platform == 'android' }}
with:
java-version: '11'
distribution: 'adopt'
java-version: "11"
distribution: "adopt"

- run: ./metrics/prepare.sh

Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/min_version_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
- release/**
pull_request:
paths-ignore:
- 'file/**'
- 'sqflite/**'
- "**/*.md"
- "file/**"
- "sqflite/**"

jobs:
cancel-previous-workflow:
Expand All @@ -27,12 +28,12 @@ jobs:

- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
distribution: "adopt"
java-version: "11"

- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
with:
flutter-version: '3.0.0'
flutter-version: "3.0.0"

- name: Build Android
run: |
Expand All @@ -49,7 +50,7 @@ jobs:

- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
with:
flutter-version: '3.0.0'
flutter-version: "3.0.0"

- name: Build iOS
run: |
Expand All @@ -66,7 +67,7 @@ jobs:

- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
with:
flutter-version: '3.0.0'
flutter-version: "3.0.0"

- name: Build web
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sqflite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- release/**
pull_request:
paths-ignore:
- "**/*.md"
- "logging/**"
- "flutter/**"
- "dio/**"
Expand Down

0 comments on commit d10745a

Please sign in to comment.