Interface to simplify PR management on GitHub.
- Create a Github's token (here) and select
repo
scope - Create
.env.local
from.env
- Fill
GITHUB_TOKEN
with your own token - Depending on if you want to search PRs with labels or filters, you can set
USE_MODE
with two different value: filter | label - If you choose
USE_MODE=label
, fillGITHUB_LABELS_*
with you own labels for the differents categories - If you choose
USE_MODE=filter
, fillGITHUB_FILTERS
andGITHUB_NOTIFICATIONS_*
with you own filters
GITHUB_AUTH_METHOD=http_token
GITHUB_TOKEN=
GITHUB_REPOS='["username/repo_1", "username/repo_2", "username_2/repo_1"]'
GITHUB_LABELS_CHANGES_REQUESTED='["Changes requested"]'
GITHUB_LABELS_ACCEPTED='["Accepted"]'
GITHUB_LABELS_WIP='["WIP", "Pending answer"]'
GITHUB_BRANCHS_COLORS='[{"master": "warning"}, {"develop": "success"}, {"feature-*": "primary"}, {"release*": "info"}, , {"hotfix-*": "danger"}]'
GITHUB_BRANCH_DEFAULT_COLOR=danger
GITHUB_FILTERS='["is:pr is:open -label:WIP", "is:pr is:draft"]'
GITHUB_NOTIFICATIONS_EXCLUDE_REASONS='["assign", "comment", "invitation"]'
GITHUB_NOTIFICATIONS_EXCLUDE_REASONS_OTHER_REPOS='["review_requested", "state_change"]'
ENABLE_DARK_THEME=1
RELOAD_ON_FOCUS=0
# Reload time is ms
RELOAD_EVERY=60000
# Mode to use : filter | label
USE_MODE=label
If you don't want to reload on focus and reload every x ms, you just need to set RELOAD_ON_FOCUS=0
and RELOAD_EVERY=0
.
If you want to search PRs by filters, you can fill GITHUB_FILTERS
. You can find a list of available filters here.
To fill GITHUB_NOTIFICATIONS_EXCLUDE_REASONS
and GITHUB_NOTIFICATIONS_EXCLUDE_REASONS_OTHER_REPOS
you can find the list here.
Install composer and assets:
make install
Start containers:
make start
Stop containers:
make stop
Connect to PHP's container:
make shell
make check