mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
18 lines
575 B
YAML
18 lines
575 B
YAML
name: Diff completeness check
|
|
on: pull_request
|
|
|
|
jobs:
|
|
checkdiff:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up repo
|
|
run: |
|
|
git clone -b "${{ github.event.pull_request.head.ref }}" "${{ github.event.pull_request.head.repo.clone_url }}" rgbds
|
|
cd rgbds
|
|
git remote add upstream "${{ github.event.pull_request.base.repo.clone_url }}"
|
|
git fetch upstream
|
|
- name: Check diff
|
|
working-directory: rgbds
|
|
run: |
|
|
make checkdiff "BASE_REF=${{ github.event.pull_request.base.sha }}" Q= | tee log
|