From c39ce087ab96044e92c427e591bda8d29a87c42c Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Sat, 3 Aug 2024 23:10:37 +0800 Subject: [PATCH] chore: improve github action script --- .github/workflows/coverage.yml | 2 +- .github/workflows/node.js.yml | 2 +- .github/workflows/release.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7cefe66..7ee3cbc 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -12,7 +12,7 @@ on: jobs: build: runs-on: ubuntu-latest - + if: github.repository == 'idrawjs/idraw' strategy: matrix: node-version: [22.x] diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 383e9e4..532a200 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,7 +12,7 @@ on: jobs: build: runs-on: ubuntu-latest - + if: github.repository == 'idrawjs/idraw' strategy: matrix: node-version: [22.x] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9639717..544c440 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: github.repository == 'idrawjs/idraw' permissions: contents: read id-token: write