7
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHubActionsで、特定のファイル変更をトリガーにする

Last updated at Posted at 2020-02-18

背景

特定のファイルが変更されたときのみ、githubでレビュワーをアサインする仕組みを作りたい

検討

GitHubActionsのifで、条件が書けそう
→「ファイルが変更されたら」の書き方がわからない

解決案

ifじゃなくて、onで「ファイルの変更差分がpushされたら」の条件にする

on:
  push:
    paths:
    - 'dir/**'

これでトリガーをファイル変更にできる

7
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?