From 9540bebf17139fdcd5ebf59dcc018d14474b63a0 Mon Sep 17 00:00:00 2001 From: Olivier Laborde Date: Thu, 29 Aug 2024 12:54:06 +0300 Subject: [PATCH 1/2] GRAL-4409 added issue auto-close workflow --- .github/workflows/auto-close-stale-issues.yml | 19 +++++++++++++++++++ autolad.php | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/auto-close-stale-issues.yml create mode 100644 autolad.php diff --git a/.github/workflows/auto-close-stale-issues.yml b/.github/workflows/auto-close-stale-issues.yml new file mode 100644 index 0000000..ed77d9b --- /dev/null +++ b/.github/workflows/auto-close-stale-issues.yml @@ -0,0 +1,19 @@ +name: Auto-close stale issues + +on: + schedule: + - cron: "0 7 * * 0" # Runs the action on Sundays at 7am UTC + +jobs: + close-stale-issues: + runs-on: ubuntu-latest + steps: + - name: Close stale issues + uses: actions/stale@v5 + with: + days-before-stale: 150 # 5 months + days-before-close: 30 # 30 days after marking stale (total of 6 months) + stale-issue-message: "This issue has been marked as stale due to inactivity. It will be closed in 30 days if no further activity occurs." + close-issue-message: "Closing this issue due to 6 months of inactivity." + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/autolad.php b/autolad.php new file mode 100644 index 0000000..af52b3c --- /dev/null +++ b/autolad.php @@ -0,0 +1,2 @@ + Date: Thu, 29 Aug 2024 13:36:15 +0300 Subject: [PATCH 2/2] GRAL-4409 remove file --- autolad.php | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 autolad.php diff --git a/autolad.php b/autolad.php deleted file mode 100644 index af52b3c..0000000 --- a/autolad.php +++ /dev/null @@ -1,2 +0,0 @@ -