1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 03:21:12 +08:00

Update merge-prs.yml: Filter out conflict-free Pull Requests created by bots

This commit is contained in:
pooneyy 2025-08-16 17:22:13 +08:00
parent 95cc84404d
commit 06e2f373a1
No known key found for this signature in database

View File

@ -21,7 +21,7 @@ jobs:
- name: 获取可合并的 PR
id: get-prs
run: |
pr_list=$( gh pr list --state open --json number,mergeable --limit 1000 --jq 'sort_by(.number) | .[] | .number' )
pr_list=$( gh pr list --state open --author "app/renovate" --json number,mergeStateStatus --limit 1000 --jq 'sort_by(.number) | .[] | select(.mergeStateStatus == "CLEAN") | .number' )
pr_list=$(echo "$pr_list" | tr '\n' ' ')