From f10efc55d70f142e90e6771d8a2fdeb204f65f7d Mon Sep 17 00:00:00 2001 From: Tim Camise Date: Thu, 7 Dec 2023 13:32:44 -0800 Subject: [PATCH 1/2] Add stale issue management Github Action --- .github/workflows/stale-issues.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/stale-issues.yml diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 00000000..40b36423 --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,21 @@ +name: 'Label and / or close stale issues' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + permissions: + issues: write + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9.0.0 + with: + only-issue-labels: "feedback requested" + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.' + close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.' + days-before-stale: 30 + days-before-close: 10 + # We aren't automatically managing PR's + days-before-pr-close: -1 + days-before-pr-stale: -1 From d54a3c8771e7bd49641d3580d742f8ed09398257 Mon Sep 17 00:00:00 2001 From: Tim Camise Date: Thu, 7 Dec 2023 13:34:10 -0800 Subject: [PATCH 2/2] Manually add copyright --- .github/workflows/stale-issues.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index 40b36423..11554658 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -1,3 +1,6 @@ +# stale-issues.yml/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). +# This copyright was auto-generated on Wed, Dev 6, 2023 5:05:35 PM + name: 'Label and / or close stale issues' on: schedule: