Skip to content

GHA Workflow for Running Danger #39

GHA Workflow for Running Danger

GHA Workflow for Running Danger #39

Workflow file for this run

name: ☢️ Danger on GHA
on:
pull_request:
types: [opened, edited, review_requested, review_request_removed, labeled, unlabeled, milestoned, demilestoned, synchronize]
concurrency:
group: danger-${{ github.ref }}
cancel-in-progress: true
jobs:
dangermattic:
runs-on: ubuntu-latest
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: "📥 Checkout Repo"
uses: actions/checkout@v4
- name: "💎 Ruby Setup"
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: "☢️ Danger on GHA"
run: |
echo "--- 🏃 Running Danger: PR Check"
bundle exec danger --fail-on-errors=true --remove-previous-comments --danger_id=pr-check