Skip to content

Improve core tests #5837

Improve core tests

Improve core tests #5837

Workflow file for this run

name: "Danger"
on:
pull_request_target:
types: [ assigned, closed, opened, synchronize, reopened ]
permissions:
actions: write
checks: write
contents: write
issues: write
pull-requests: write
statuses: write
jobs:
danger:
if: github.event.sender != 'codecov' && github.repository == 'detekt/detekt'
name: Danger JS
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: "18"
cache: "yarn"
cache-dependency-path: "website/yarn.lock"
- name: Install Yarn Dependencies
working-directory: bots/
run: yarn install --frozen-lockfile
- name: Run Danger
working-directory: bots/
run: yarn danger ci
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DETEKT_CI_GITHUB_USER_TOKEN }}