Skip to content

Commit 4022e47

Browse files
Wei SunWei Sun
authored andcommitted
[CI] Assign danger_id to two danger steps
This update avoids two danger steps overwriting each other's comment
1 parent 691f8a6 commit 4022e47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gha_pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v1
1313
- run: npm install -g danger
14-
- run: swift run danger-swift ci -c release
14+
- run: swift run danger-swift ci -c release --id "Lint"
1515
env:
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_SWIFT_GITHUB_TOKEN }}
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@v1
3434
- run: npm install -g danger
3535
- run: swift test --enable-code-coverage
36-
- run: swift run danger-swift ci -c release --dangerfile DangerfileCoverage.swift
36+
- run: swift run danger-swift ci -c release --dangerfile DangerfileCoverage.swift --id "Coverage"
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_SWIFT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)