ci(workflows): harden new-script close, slug-match VED issue close, 7-day lock

- close-new-script-prs: trigger on added script file OR label, exempt by
  author_association (OWNER/MEMBER/COLLABORATOR) instead of team API
- close_issue_in_dev: match VED issues by derived slug, close all matches
- lock-issue: lock closed issues after 7 days instead of 3

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michel Roegl-Brunner
2026-06-02 11:43:08 +02:00
parent 06af8cca46
commit 9dc08aa8c1
3 changed files with 76 additions and 70 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const daysBeforeLock = 3;
const daysBeforeLock = 7;
const lockDate = new Date();
lockDate.setDate(lockDate.getDate() - daysBeforeLock);
@@ -28,7 +28,7 @@ jobs:
/dependabot/i
];
// Search for closed, unlocked issues older than 3 days (paginated, oldest first)
// Search for closed, unlocked issues older than 7 days (paginated, oldest first)
let page = 1;
let totalLocked = 0;