Fix dod status on merge queue #8438
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: Definition of Done | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
merge_group: | |
types: checks_requested | |
permissions: {} | |
jobs: | |
check-dod: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Check DoD | |
# Excluding Dependabot PRs and checks_requested events from this check. | |
if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' | |
uses: platisd/definition-of-done@e69d712b88c93ef88a73da4435155a0054b7df5e # v2.2.0 | |
with: | |
dod_yaml: 'dod.yml' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |