Skip to content

ci: run danger with github token #98

ci: run danger with github token

ci: run danger with github token #98

Workflow file for this run

name: CI
on:
pull_request:
types: [assigned, unassigned, opened, synchronize, edited, ready_for_review, reopened]
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false && !endsWith(github.actor, '[bot]')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Danger JS
run: bun danger ci
semgrep:
needs: ci
runs-on: ubuntu-latest
container:
image: semgrep/semgrep
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Semgrep
run: semgrep ci
env:
SEMGREP_RULES: auto