From 87e53232032374e7dcf00c6f78b2eb6ee9873874 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Mon, 11 Sep 2023 17:12:40 -0400 Subject: [PATCH] fix: restrict build and docker workflows to main --- .github/workflows/build.yml | 2 ++ .github/workflows/docker.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f733ef5d..bd9a6a00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,8 @@ name: Build on: workflow_dispatch: push: + branches: + - main pull_request: jobs: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 00224b09..588b09c7 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -3,6 +3,8 @@ name: Docker on: workflow_dispatch: push: + branches: + - main pull_request: env: