Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR の目的
実行条件を更新し、いずれのCIも同じ条件でトリガーされるようにする。
カテゴリ
PR の背景
Azure Pipelinesの実行条件のうち、除外ファイルの指定内容がほかのCIと異なっているため、編集したファイルによっては必要ないにも関わらずCIが実行されてしまいます。
他のCIに揃える形で条件を統一し、確実に抑止されるようにします。
PR のメリット
PR のデメリット (トレードオフとかあれば)
仕様・動作説明
かつてAzure Pipelinesはワイルドカードに対応していなったため、 #1502 で対象ファイルを個別に列挙していますが、この方法では新たに除外対象とすべきファイルがリポジトリに追加されたときに更新を忘れる可能性があります。
幸い昨年9月にワイルドカードへの対応が実施されたので、他と同様にワイルドカードで指定するように改めます。
また、.editorconfigについてもAzure Pipelinesだけは除外対象となっておらず、代わりにTravis CIの設定ファイルが除外対象とされていることから、前者の追加と後者の削除を行います。
現時点でTravis CIは導入されておらず、当該設定ファイルも存在しませんので、除外から外しても問題はないはずです。
PR の影響範囲
テスト内容
あらかじめ ./installer/Languages/README.md を編集して、すべてのCIが実行されないことを確認済みです。
なお、このファイルは現時点で除外対象から漏れています。
関連 issue, PR
#1494 → #1498 → #1500 → #1501 → #1502
#1787
参考資料
Support for wild cards and conditional expressions in YAML pipeline files | Microsoft Docs