Skip to content

Commit

Permalink
Merge pull request #1296 from m-tmatma/feature/improve-ignore-paths
Browse files Browse the repository at this point in the history
CI の md ファイルの無視ルールを改善
  • Loading branch information
m-tmatma authored May 10, 2020
2 parents 819ada7 + fd8c740 commit b111c70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-sakura.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,25 @@ on:
- master
- feature/*
paths-ignore:
- '*.md'
- '**/*.md'
- .gitignore
- .editorconfig
- appveyor.yml
- 'azure-pipelines*.yml'
- 'ci/azure-pipelines/template*.yml'
- '.github/*.md'
- '.github/ISSUE_TEMPLATE/*.md'

pull_request:
branches:
- master
- feature/*
- release/*
paths-ignore:
- '*.md'
- '**/*.md'
- .gitignore
- .editorconfig
- appveyor.yml
- 'azure-pipelines*.yml'
- 'ci/azure-pipelines/template*.yml'
- '.github/*.md'
- '.github/ISSUE_TEMPLATE/*.md'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
4 changes: 1 addition & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ clone_depth: 5
# see "Skip commits" at https://www.appveyor.com/docs/how-to/filtering-commits/#commit-files-github-and-bitbucket-only
skip_commits:
files:
- '*.md'
- '**/*.md'
- .gitignore
- .editorconfig
- 'azure-pipelines*.yml'
- 'ci/azure-pipelines/template*.yml'
- '.github/*.md'
- '.github/ISSUE_TEMPLATE/*.md'
- '.github/workflows/*.yml'

install:
Expand Down
8 changes: 2 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ trigger:
- revert-*
paths:
exclude:
- "*.md"
- .github/*.md
- .github/ISSUE_TEMPLATE/*.md
- '**/*.md'
- .github/workflows/*.yml
- .gitignore
- .travis.yml
Expand All @@ -34,9 +32,7 @@ pr:
- revert-*
paths:
exclude:
- "*.md"
- .github/*.md
- .github/ISSUE_TEMPLATE/*.md
- '**/*.md'
- .gitignore
- .travis.yml
- appveyor.yml
Expand Down

0 comments on commit b111c70

Please sign in to comment.