Merge pull request #442 from LeoYuan/chore/cov-permission

chore: grant write permission for pull request
This commit is contained in:
林熠 2022-05-07 11:31:22 +08:00 committed by GitHub
commit a5f6d76bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
@ -61,3 +76,5 @@ jobs:
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
annotations: none
package-manager: yarn