name: Validate PRs in merge queue | |
on: | |
pull_request: | |
branches: [ "main" ] | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
validate-patch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Display info | |
run: | | |
pwd | |
tree -a -I '.git' | |
git status | |
- name: Validate files | |
run: ./queue-check.sh |