From f57cf045c359a717b399c644a108072d7c6c6232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LeoYuan=20=E8=A2=81=E5=8A=9B=E7=9A=93?= Date: Sat, 7 May 2022 10:42:47 +0800 Subject: [PATCH] chore: grant write permission for pull request --- .github/workflows/cov packages.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cov packages.yml b/.github/workflows/cov packages.yml index 3790806ab..c9dac58f1 100644 --- a/.github/workflows/cov packages.yml +++ b/.github/workflows/cov packages.yml @@ -8,6 +8,9 @@ on: jobs: cov-designer: + permissions: + checks: write + pull-requests: write runs-on: ubuntu-latest steps: - name: checkout @@ -25,7 +28,13 @@ jobs: working-directory: packages/designer test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json skip-step: install + annotations: none + package-manager: yarn + cov-renderer-core: + permissions: + checks: write + pull-requests: write runs-on: ubuntu-latest steps: - name: checkout @@ -43,7 +52,13 @@ jobs: working-directory: packages/renderer-core test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json skip-step: install + annotations: none + package-manager: yarn + cov-react-simulator-renderer: + permissions: + checks: write + pull-requests: write runs-on: ubuntu-latest steps: - name: checkout @@ -60,4 +75,6 @@ jobs: with: working-directory: packages/react-simulator-renderer test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json - skip-step: install \ No newline at end of file + skip-step: install + annotations: none + package-manager: yarn \ No newline at end of file