From 1acecb9fde908e7f59bbd765f7b36b8ee65bcc93 Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Thu, 29 Oct 2026 17:36:52 +0100 Subject: [PATCH 1/2] ci(issues): enable shared inactive issue triage --- .github/workflows/stale-issues.yaml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/stale-issues.yaml diff --git a/.github/workflows/stale-issues.yaml b/.github/workflows/stale-issues.yaml new file mode 100644 index 0000000..e606e88 --- /dev/null +++ b/.github/workflows/stale-issues.yaml @@ -0,0 +1,32 @@ +--- +name: 🗂️ Stale Issue Triage + +on: + pull_request: + paths: [.github/workflows/stale-issues.yaml] + schedule: + - cron: "57 5 * * *" + workflow_dispatch: + inputs: + dry-run: + description: Preview without changing issues or saved progress. + type: boolean + default: true + +permissions: {} + +concurrency: + group: stale-issues-caller + cancel-in-progress: false + +jobs: + triage: + # Keep portfolio automation disabled in external template copies. + if: ${{ github.repository_owner == 'devantler-tech' }} + uses: devantler-tech/.github/.github/workflows/triage-stale-issues.yaml@f3a39508a43dd1dccec5d1c7f19962cf91982440 # v17.1.0 + permissions: + issues: write + actions: write + with: + enabled: true + dry-run: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' && inputs.dry-run }} From fa37545cef2b686f28a2fb423e8d2e7d8c6ade32 Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Thu, 29 Oct 2026 17:47:39 +0100 Subject: [PATCH 2/2] test(ci): use portable jq pagination in recheck fixture --- scripts/recheck-open-prs.test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/recheck-open-prs.test.sh b/scripts/recheck-open-prs.test.sh index eca0f5c..e485f33 100755 --- a/scripts/recheck-open-prs.test.sh +++ b/scripts/recheck-open-prs.test.sh @@ -73,7 +73,7 @@ if [ "\$verb" = "api --paginate" ]; then query_base=main for arg in "\$@"; do case "\$arg" in base=*) query_base=\${arg#base=} ;; esac; done jq -Rn --arg base "\$query_base" \ - '[inputs|select(length>0)|split("\\t")|.[0] as \$n|{number:(\$n|try tonumber catch \$n),title:.[1],state:"open",base:{ref:\$base,repo:{full_name:"owner/name"}}}]|if length==0 then [[]] else [_nwise(100)] end' < "$dir/listing.tsv" + '[inputs|select(length>0)|split("\\t")|.[0] as \$n|{number:(\$n|try tonumber catch \$n),title:.[1],state:"open",base:{ref:\$base,repo:{full_name:"owner/name"}}}]|if length==0 then [[]] else . as \$items | [range(0; length; 100) as \$offset | \$items[\$offset:\$offset+100]] end' < "$dir/listing.tsv" exit 0 fi