Skip to content

🚨 (chore) [DSDK-63]: Add Danger #201

🚨 (chore) [DSDK-63]: Add Danger

🚨 (chore) [DSDK-63]: Add Danger #201

Workflow file for this run

name: pull_request
on: [pull_request]
permissions:
actions: read|write

Check failure on line 6 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / pull_request

Invalid workflow file

The workflow is not valid. .github/workflows/pull_request.yml (Line: 6, Col: 12): Unexpected value 'read|write' .github/workflows/pull_request.yml (Line: 7, Col: 11): Unexpected value 'read|write'
checks: read|write
contents: read|write
# deployments: read
issues: read|write
pull-requests: read|write
statuses: read|write
env:
# DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DANGER_GITHUB_API_BASE_URL: "https://api.github.com"
CI_JOB_NUMBER: 1
FORCE_COLOR: 1
jobs:
# lint:
# runs-on: [device-sdk-4xlarge-linux]
# steps:
# - uses: actions/checkout@v3
# - uses: ./actions/setup-toolchain-composite
# - name: Lint
# run: pnpm lint
# prettier:
# runs-on: [device-sdk-4xlarge-linux]
# steps:
# - uses: actions/checkout@v3
# - uses: ./actions/setup-toolchain-composite
# - name: Prettier
# run: pnpm prettier
# test:
# runs-on: [device-sdk-4xlarge-linux]
# steps:
# - uses: actions/checkout@v3
# - uses: ./actions/setup-toolchain-composite
# - name: Test
# run: pnpm test
danger:
runs-on: [device-sdk-4xlarge-linux]
steps:
- uses: actions/checkout@v3
- uses: ./actions/setup-toolchain-composite
- name: Danger
run: pnpm danger ci -v