types: [opened, synchronize]
permissions:
- issues: write
+ pull-requests: write
+ statuses: write
jobs:
danger:
env:
DANGER_GITHUB_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 }}