Skip to content

Commit

Permalink
[CI] Assign danger_id to two danger steps
Browse files Browse the repository at this point in the history
This update avoids two danger steps overwriting each other's comment
  • Loading branch information
Wei Sun authored and Wei Sun committed Sep 7, 2021
1 parent 691f8a6 commit 4022e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gha_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: npm install -g danger
- run: swift run danger-swift ci -c release
- run: swift run danger-swift ci -c release --id "Lint"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_SWIFT_GITHUB_TOKEN }}
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v1
- run: npm install -g danger
- run: swift test --enable-code-coverage
- run: swift run danger-swift ci -c release --dangerfile DangerfileCoverage.swift
- run: swift run danger-swift ci -c release --dangerfile DangerfileCoverage.swift --id "Coverage"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_SWIFT_GITHUB_TOKEN }}

0 comments on commit 4022e47

Please sign in to comment.