Update to Kotlin 2.0.0 #5994
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: "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 }} |