99889 Bug Debt Team 5655 is mis-categorizing some forms #50417
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --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 |