From 93c409da3f86b1f82d177b5c3b16559a5a86b747 Mon Sep 17 00:00:00 2001 From: tarao Date: Tue, 7 Nov 2023 12:29:30 +0900 Subject: [PATCH] Restrict CI branch. --- .github/workflows/ci.yml | 4 ++-- build.sbt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 443ecce..07ff7a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ name: Continuous Integration on: pull_request: - branches: ['**', '!update/**', '!pr/**'] + branches: [master] push: - branches: ['**', '!update/**', '!pr/**'] + branches: [master] tags: [v*] env: diff --git a/build.sbt b/build.sbt index e281e1b..1a0a027 100644 --- a/build.sbt +++ b/build.sbt @@ -110,4 +110,5 @@ lazy val benchmark_2_11 = (project in file("modules/benchmark_2_11")) ), ) +ThisBuild / githubWorkflowTargetBranches := Seq("master") ThisBuild / githubWorkflowPublishTargetBranches := Seq()