From ae6631493286d1344be2a87389e1c9a5014a5de8 Mon Sep 17 00:00:00 2001 From: SonOfMagic Date: Thu, 27 Jul 2023 11:19:27 +0800 Subject: [PATCH] chore: change workflow behavior --- .github/workflows/ci.yml | 5 +++-- .github/workflows/release.yml | 6 +++--- packages/foo/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fa8027..42f4db3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,11 @@ name: CI on: - push: - branches: ['main'] + # push: + # branches: ['main'] pull_request: types: [opened, synchronize] + workflow_dispatch: jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fcf304..0546269 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ name: Release on: - # push: - # branches: - # - main + push: + branches: + - main workflow_dispatch: concurrency: ${{ github.workflow }}-${{ github.ref }} diff --git a/packages/foo/package.json b/packages/foo/package.json index eb14d13..6ac2f8b 100644 --- a/packages/foo/package.json +++ b/packages/foo/package.json @@ -1,6 +1,6 @@ { "name": "@icebreakers/foo", - "version": "0.0.2-alpha.0", + "version": "0.0.2", "description": "", "scripts": { "build": "unbuild",