mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 03:09:11 +00:00
tools/merge-autoupdate.sh: add label to bot MRs
This commit is contained in:
parent
a26af23a3f
commit
0375e15126
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")"
|
|||
glab="glab --repo fdroid/fdroiddata"
|
||||
mr_list=$($glab mr list --author checkupdates-bot -F json | jq -r 'map(.iid)[]')
|
||||
for mr in $mr_list; do
|
||||
$glab mr update $mr --label "fdroid-bot"
|
||||
if [[ $($glab mr view $mr -F json | jq -r '.pipeline.status == "success" and .draft == false') == "true" ]]; then
|
||||
echo "Merging $mr..."
|
||||
./tools/auto-merge.sh $mr
|
||||
|
|
|
|||
Loading…
Reference in a new issue