From 797a5769e000afab1289ac18bed0b73e6aab8117 Mon Sep 17 00:00:00 2001 From: Thomas Desrosiers Date: Sat, 25 Jan 2020 20:11:04 -0800 Subject: [PATCH] Only CI on _branch_ pushes and stop double releasing --- .github/workflows/ci.yml | 5 +++-- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fb9cdb..b5e4b0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,8 @@ on: - # On push/pr & weekly + # On a branch push & weekly push: - pull_request: + branches: + - '*' schedule: - cron: "0 23 * * 0" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a25635a..040398b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ on: release: - types: [created, edited] + types: [created] name: Build Release