From 0b385595da0754816d2691801dacafd41e90654b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 13 Dec 2024 21:34:46 +0200 Subject: [PATCH] chore(ci): push on tag only --- .github/workflows/release-package.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 1cd3b6760..52ec1a685 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -1,6 +1,8 @@ name: Release on: push: + tags: + - 'v*' jobs: publish-github-registry: runs-on: ubuntu-latest @@ -14,7 +16,4 @@ jobs: - run: yarn install - run: yarn push env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} -permissions: - contents: read - packages: write \ No newline at end of file + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file