github-merge-pr: add check for working on clean branch
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 11 Jan 2023 15:21:11 +0000 (16:21 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 11 Jan 2023 15:21:11 +0000 (16:21 +0100)
commitfe709c1d4b5696729d66ea224f0c3494d2a0e98c
tree0d7e9bd6182bb69685c0a573b8e9da2cdd5fc273
parent191b21c81fb437935cdc2103175114b5071a3ecc
github-merge-pr: add check for working on clean branch

With error it may happen to work on a dirty branch and unintended
changes may be merged on merging a different pull request.

Add a check for it and exit with an error text.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
github-merge-pr.sh