1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/pr_check/README.md
2021-01-13 12:02:18 +01:00

18 lines
500 B
Markdown

# About
This script checks if a Pull Request needs squashing.
# Usage
```bash
./check.sh [<branch>]
```
The `<branch>` parameter refers to the branch the pull request's branch branched
from. The script will output all commits marked as squashable from `HEAD` to the
merge-base with `<branch>`. The default for `<branch>` is `master`.
A commit is marked as squashable if it contains the keywords SQUASH, FIX or
REMOVE ME (case insensitive) within the first five characters of it's subject
title.