Get danger working on pull requests
This commit is contained in:
parent
67f7767f40
commit
8e54d0f2ae
1 changed files with 3 additions and 2 deletions
5
.github/workflows/labeling.yml
vendored
5
.github/workflows/labeling.yml
vendored
|
@ -7,7 +7,8 @@ on:
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
pull-requests: write
|
||||||
|
statuses: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
danger:
|
danger:
|
||||||
|
@ -27,4 +28,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DANGER_GITHUB_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
DANGER_GITHUB_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
bundle exec danger --verbose --base=${{ github.base_ref }} --head=${{ github.head_ref }}
|
bundle exec danger --verbose --base=${{ github.event.pull_request.base.sha }} --head=${{ github.event.pull_request.head.sha }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue