From 332726f78ff2ac406438b38356f07d3a03fc4eef Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sun, 8 Sep 2024 06:09:27 +0900 Subject: [PATCH] GH-100: Don't run CI jobs by Dependabot push 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 573ba4f2..bf9cca9b 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: