From 7fcc0c09b831dea37330d3087c468a2a6353ac89 Mon Sep 17 00:00:00 2001 From: Raeschen Date: Fri, 7 Jul 2023 09:12:56 +0200 Subject: [PATCH 1/3] adds automated issue stale-marking/closing This only works for issues. This will not close PRs. --- .github/workflows/stale.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..42092ce366 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + 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 150 days.' + close-issue-message: 'This issue was closed because it has been stalled for 150 days with no activity.' + days-before-issue-stale: 30 + days-before-pr-stale: -1 + days-before-issue-close: 150 + days-before-pr-close: -1 From 6e633f70ffd12f4d70251bf440e17ae31ca64dc4 Mon Sep 17 00:00:00 2001 From: Raeschen Date: Fri, 7 Jul 2023 14:03:58 +0200 Subject: [PATCH 2/3] Update get_player_status.dm --- code/modules/admin/verbs/get_player_status.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/get_player_status.dm b/code/modules/admin/verbs/get_player_status.dm index c409deab65..c37111767b 100644 --- a/code/modules/admin/verbs/get_player_status.dm +++ b/code/modules/admin/verbs/get_player_status.dm @@ -6,7 +6,7 @@ /client/proc/getPlayerStatus() set name = "Report Player Status" set desc = "Get information on all active players in-game." - set category = "EventKit" + set category = "Fun" if(!check_rights(R_FUN)) return From 280f7df6e9a288b4450e75991f79251a165f8443 Mon Sep 17 00:00:00 2001 From: Raeschen Date: Fri, 7 Jul 2023 14:05:15 +0200 Subject: [PATCH 3/3] revert get_player_status.dm - wrong branch --- code/modules/admin/verbs/get_player_status.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/get_player_status.dm b/code/modules/admin/verbs/get_player_status.dm index c37111767b..c409deab65 100644 --- a/code/modules/admin/verbs/get_player_status.dm +++ b/code/modules/admin/verbs/get_player_status.dm @@ -6,7 +6,7 @@ /client/proc/getPlayerStatus() set name = "Report Player Status" set desc = "Get information on all active players in-game." - set category = "Fun" + set category = "EventKit" if(!check_rights(R_FUN)) return