From 2bcd075d913bc9b9f11e633b190f1fcc9d8fb9b6 Mon Sep 17 00:00:00 2001 From: yifanwww Date: Mon, 31 Jul 2023 23:47:42 +0800 Subject: [PATCH] chore(ci): run release dry-run in PRs --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b95d3633..ac25b7b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,9 @@ -name: Release +name: Release Workflows on: push: branches: - main - - main-test - - ci - - ci-test tags: - v[0-9]+.[0-9]+.[0-9]+ - v[0-9]+.[0-9]+.[0-9]+-alpha @@ -15,6 +12,8 @@ on: - v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+ - v[0-9]+.[0-9]+.[0-9]+-rc - v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+ + pull_request: + types: [opened, reopened, synchronize] jobs: release: