From 9c3d08f66dff9023a244f4c7bfe6d11b8e979a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20de=20Courville?= Date: Wed, 8 Jul 2026 10:52:30 +0200 Subject: [PATCH 1/3] Add workflow to redirect issues to Processing 4 Automatically close and respond to new issues with: > Thanks for your report. Please note that this repository is inactive and only kept for legacy purposes. > > If you're reporting a bug or requesting a feature for Processing 4, please open an issue in **[processing/processing4](https://github.com/processing/processing4/issues/new/choose)** instead.`; > > This issue will be closed automatically. --- .github/workflows/redirect.yml | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/redirect.yml diff --git a/.github/workflows/redirect.yml b/.github/workflows/redirect.yml new file mode 100644 index 0000000000..31aefbf32f --- /dev/null +++ b/.github/workflows/redirect.yml @@ -0,0 +1,37 @@ +name: Redirect issues to Processing 4 + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + redirect: + runs-on: ubuntu-latest + + steps: + - uses: actions/github-script@v9 + with: + script: | + > Thanks for your report. Please note that this repository is inactive and only kept for legacy purposes. + > + > If you're reporting a bug or requesting a feature for Processing 4, please open an issue in **[processing/processing4](https://github.com/processing/processing4/issues/new/choose)** instead.`; + > + > This issue will be closed automatically. + + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body + }); + + await github.rest.issues.update({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + state: "closed", + state_reason: "not_planned" + }); From 18bf13e69835a97939d96b6a9c4188f0cc8ac307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20de=20Courville?= Date: Wed, 8 Jul 2026 10:54:39 +0200 Subject: [PATCH 2/3] Fix comment formatting in redirect.yml --- .github/workflows/redirect.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/redirect.yml b/.github/workflows/redirect.yml index 31aefbf32f..e73b21a177 100644 --- a/.github/workflows/redirect.yml +++ b/.github/workflows/redirect.yml @@ -17,7 +17,7 @@ jobs: script: | > Thanks for your report. Please note that this repository is inactive and only kept for legacy purposes. > - > If you're reporting a bug or requesting a feature for Processing 4, please open an issue in **[processing/processing4](https://github.com/processing/processing4/issues/new/choose)** instead.`; + > If you're reporting a bug or requesting a feature for Processing 4, please open an issue in **[processing/processing4](https://github.com/processing/processing4/issues/new/choose)** instead. > > This issue will be closed automatically. From a83ecb993c3438bf4ec2de8945e10a626440e715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20de=20Courville?= Date: Wed, 8 Jul 2026 11:06:48 +0200 Subject: [PATCH 3/3] fmt --- .github/workflows/redirect.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/redirect.yml b/.github/workflows/redirect.yml index e73b21a177..ff55bb9e64 100644 --- a/.github/workflows/redirect.yml +++ b/.github/workflows/redirect.yml @@ -15,11 +15,11 @@ jobs: - uses: actions/github-script@v9 with: script: | - > Thanks for your report. Please note that this repository is inactive and only kept for legacy purposes. - > - > If you're reporting a bug or requesting a feature for Processing 4, please open an issue in **[processing/processing4](https://github.com/processing/processing4/issues/new/choose)** instead. - > - > This issue will be closed automatically. + const body = `> Thanks for your report. Please note that this repository is inactive and only kept for legacy purposes. + > + > If you're reporting a bug or requesting a feature for Processing 4, please open an issue in **https://github.com/processing/processing4/issues/new/choose** instead. + > + > This issue will be closed automatically.`; await github.rest.issues.createComment({ owner: context.repo.owner,