From 525c23dd16c3b2f5bd230761862ae98f4adbeace Mon Sep 17 00:00:00 2001 From: Guillaume Bernos Date: Tue, 3 Mar 2026 15:43:52 +0100 Subject: [PATCH 1/2] chore: reintroduce stale bot --- .github/workflows/customer_response.yaml | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/customer_response.yaml diff --git a/.github/workflows/customer_response.yaml b/.github/workflows/customer_response.yaml new file mode 100644 index 000000000000..ed068068f796 --- /dev/null +++ b/.github/workflows/customer_response.yaml @@ -0,0 +1,53 @@ +name: Customer response management + +on: + issue_comment: + types: [created] + schedule: + - cron: '0 9 * * *' + +jobs: + remove-label: + if: > + github.event_name == 'issue_comment' && + !github.event.issue.pull_request && + github.event.comment.user.login == github.event.issue.user.login && + contains(toJSON(github.event.issue.labels.*.name), 'blocked: customer-response') + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + script: | + await github.rest.issues.removeLabel({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + name: 'blocked: customer-response', + }); + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + labels: ['Needs Attention'], + }); + + stale-check: + if: github.event_name == 'schedule' + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + only-labels: 'blocked: customer-response' + stale-issue-label: 'stale' + stale-issue-message: > + This issue has been inactive for 14 days since we requested more + information. It will be closed in 7 days if no further response + is received. + close-issue-message: > + Closing this issue as no response has been received. If this is + still a problem, please reopen with the requested information. + days-before-stale: 14 + days-before-close: 7 + days-before-pr-stale: -1 + days-before-pr-close: -1 + remove-stale-when-updated: true From bce514d0c193f3ee5a0d0d43e5f0a9f16fedff26 Mon Sep 17 00:00:00 2001 From: Guillaume Bernos Date: Tue, 3 Mar 2026 15:54:05 +0100 Subject: [PATCH 2/2] permissions --- .github/workflows/customer_response.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/customer_response.yaml b/.github/workflows/customer_response.yaml index ed068068f796..eca0cd0f182c 100644 --- a/.github/workflows/customer_response.yaml +++ b/.github/workflows/customer_response.yaml @@ -6,6 +6,9 @@ on: schedule: - cron: '0 9 * * *' +permissions: + issues: write + jobs: remove-label: if: >