Skip to content

Commit 2bdbd09

Browse files
committed
MPT-13188 Add Danger rules for Python API Client
1 parent 69fd16a commit 2bdbd09

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/danger.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Danger
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, edited]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
jobs:
12+
danger:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
ref: ${{ github.event.pull_request.head.sha }}
18+
fetch-depth: 0
19+
20+
- uses: softwareone-platform/one-danger@v1
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)