From 8467d980542f87a7bab55e346f80847e05dbee9b Mon Sep 17 00:00:00 2001 From: chrysn Date: Fri, 24 Nov 2023 11:26:04 +0100 Subject: [PATCH] CI: Run on main and on request in addition to pull requests --- .github/workflows/buildtest.yml | 4 ++-- .github/workflows/rustfmt.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index 1a9fb92a..578eab95 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -5,8 +5,8 @@ name: build-test on: pull_request: - branches: - - '*' + push: + workflow_dispatch: jobs: build-test: diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index ee484079..61e3a928 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -2,8 +2,8 @@ name: rustfmt on: pull_request: - branches: - - '*' + push: + workflow_dispatch: jobs: rustfmt: