-
-
Notifications
You must be signed in to change notification settings - Fork 55
21 lines (18 loc) · 782 Bytes
/
Copy pathdanger.yml
File metadata and controls
21 lines (18 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Danger
on:
pull_request:
types: [opened, synchronize, reopened, edited, ready_for_review]
# Concurrency configuration:
# - We use workflow-specific concurrency groups to prevent multiple Danger runs on the same PR,
# as Danger performs PR validation and comment generation that should be based on the latest code.
# - We always cancel in-progress runs since this workflow only runs on pull requests, and only
# the latest commit's validation results matter for providing accurate PR feedback and reviews.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
danger:
name: Danger
runs-on: ubuntu-24.04
steps:
- uses: getsentry/github-workflows/danger@607fed74f812e69201531a5185b6c3c57caa4e89 # v3.4.0