chore: grant write permission for pull request

This commit is contained in:
LeoYuan 袁力皓 2022-05-07 10:42:47 +08:00 committed by lihao.ylh
parent 80fbe6de2c
commit f57cf045c3

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
@ -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
skip-step: install
annotations: none
package-manager: yarn