From 33bab9def088e64faa5f06b05fb66073a9ab21a8 Mon Sep 17 00:00:00 2001 From: Kenneth Belitzky Date: Thu, 13 Mar 2025 20:07:37 -0300 Subject: [PATCH 1/2] Add GitHub Actions workflow for stale issue and PR management --- .../contribs/github/workflows/stale.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 struct_module/contribs/github/workflows/stale.yaml diff --git a/struct_module/contribs/github/workflows/stale.yaml b/struct_module/contribs/github/workflows/stale.yaml new file mode 100644 index 0000000..1d7dcb9 --- /dev/null +++ b/struct_module/contribs/github/workflows/stale.yaml @@ -0,0 +1,16 @@ +structure: + - .github/workflows/stale.yaml + content: | + name: 'stale' + on: + schedule: + - cron: '30 1 * * *' + + jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@{{@ "actions/stale" | latest_release @}} + with: + stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale' + stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale' From b152f6112e0d92f4bccdfa53c8b1223d737c5e9b Mon Sep 17 00:00:00 2001 From: Kenneth Belitzky Date: Thu, 13 Mar 2025 21:05:18 -0300 Subject: [PATCH 2/2] Fix structure definition for stale workflow in GitHub Actions --- struct_module/contribs/github/workflows/stale.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/struct_module/contribs/github/workflows/stale.yaml b/struct_module/contribs/github/workflows/stale.yaml index 1d7dcb9..df87dff 100644 --- a/struct_module/contribs/github/workflows/stale.yaml +++ b/struct_module/contribs/github/workflows/stale.yaml @@ -1,5 +1,5 @@ structure: - - .github/workflows/stale.yaml + - .github/workflows/stale.yaml: content: | name: 'stale' on: