File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -27,27 +27,25 @@ jobs:
2727 days=3
2828 days_in_seconds=$((days*24*60*60))
2929
30- gh repo set-default intel/llvm
31-
3230 # Function to ping gatekeepers and print debug info
3331 ping_gatekeepers() {
3432 pr_number=$1
35- gh pr comment "$pr_number" --body "@intel/llvm-gatekeepers please consider merging"
33+ gh pr comment "$pr_number" --repo intel/llvm -- body "@intel/llvm-gatekeepers please consider merging"
3634 echo "Pinged @intel/llvm-gatekeepers for https://github.com/intel/llvm/pull/$pr_number"
3735 }
3836
3937 # Get the list of suitable PRs
40- prs=$(gh pr list --search "is:open review:approved draft:no status:success" --json number --jq '.[].number')
38+ prs=$(gh pr list --search "is:open review:approved draft:no status:success" --repo intel/llvm -- json number --jq '.[].number')
4139 now=$(date -u +%s)
4240 for pr in $prs; do
4341 # Skip PRs that don't target the sycl branch
44- pr_base=$(gh pr view $pr --json baseRefName -q .baseRefName)
42+ pr_base=$(gh pr view $pr --repo intel/llvm -- json baseRefName -q .baseRefName)
4543 if [ "$pr_base" != "sycl" ]; then
4644 continue
4745 fi
4846
4947 # Get the timestamp of the latest comment mentioning @intel/llvm-gatekeepers
50- latest_ts=$(gh pr view $pr --json comments \
48+ latest_ts=$(gh pr view $pr --repo intel/llvm -- json comments \
5149 --jq '[.comments[] | select(.body | test("@intel/llvm-gatekeepers")) | .createdAt] | last')
5250 # If there is no previous mention, ping the gatekeepers
5351 if [[ -z "$latest_ts" ]]; then
You can’t perform that action at this time.
0 commit comments