Skip to content

VaNotify - Implement watch officer callbacks #46500

VaNotify - Implement watch officer callbacks

VaNotify - Implement watch officer callbacks #46500

Workflow file for this run

name: Danger
on: [pull_request]
permissions:
contents: read
pull-requests: write
statuses: write
jobs:
danger:
name: Danger
env:
BUNDLE_ENTERPRISE__CONTRIBSYS__COM: ${{ secrets.BUNDLE_ENTERPRISE__CONTRIBSYS__COM }}
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run Danger
run: bundle exec danger --head=${{ github.sha }} --base=${{ github.event.pull_request.base.sha }} --verbose
- name: Add Danger Label
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ failure() && !contains(github.event.pull_request.labels.*.name, 'danger-alert') }}
with:
number: ${{ github.event.pull_request.number }}
labels: |
danger-alert