From d35b4c993fdb616a03de485c2fe7f903d19c9f9a Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sun, 8 Sep 2024 06:35:30 +0900 Subject: [PATCH] GH-100: Don't run CI jobs by Dependabot push (#101) It seems that Dependabot always use `dependabot/*` branch. If we ignore `push` trigger for the branch, we can run only `pull_request` trigger for Dependabot. --- .github/workflows/lint.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9ff94fce..aaecd569 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,6 +19,8 @@ name: Lint on: push: + branches-ignore: + - 'dependabot/**' pull_request: concurrency: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 451f4558..92490fdd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,8 @@ name: Test on: push: + branches-ignore: + - 'dependabot/**' pull_request: concurrency: