From 3c3f4ecd51dfb7d5723ad8bc830f10554a2ce23e Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sun, 4 Dec 2022 00:34:13 -0500 Subject: [PATCH] Fix workflow trigger on release (#501) Need to limit releases to the published events, otherwise it gets re-triggered on every release notes editing. --- .github/workflows/ci.yml | 2 +- .github/workflows/docker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b612bc1..e09d0ebf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: pull_request: branches: [main] release: - branches: [main] + types: [published] workflow_dispatch: jobs: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0d598fce..e7dae610 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ on: pull_request: branches: [main] release: - branches: [main] + types: [published] workflow_dispatch: jobs: