🚨 (chore) [DSDK-63]: Add Danger #201
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull_request | ||
on: [pull_request] | ||
permissions: | ||
actions: read|write | ||
Check failure on line 6 in .github/workflows/pull_request.yml GitHub Actions / pull_requestInvalid workflow file
|
||
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 |