Skip to content

ci: Add basic pull request checker #13

ci: Add basic pull request checker

ci: Add basic pull request checker #13

Workflow file for this run

---
name: Quick Checker
on:
push:
branches: [ 'ci-*' ]
pull_request:
branches: [ 'main' ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 500
- name: Pull pain
run: git fetch --no-tags --no-recurse-submodules --depth=500 origin main
- name: Debug
run: |

Check failure on line 25 in .github/workflows/prereq.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/prereq.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
echo $GITHUB_REF_NAME
git rev-list -1 $GITHUB_REF_NAME
git rev-list -1 origin/main
- name: Recent enough main?
run: git merge-base origin/main $GITHUB_REF_NAME
- name: Check Email
run: sh ./tools/build/check-email.sh origin/main..$GITHUB_REF_NAME
- name: Check Style
run: ./tools/build/checkstyle9.pl -color=always origin/main..$GITHUB_REF_NAME