From 321e98ecd1be000873ec1ba8831977cc6787683f Mon Sep 17 00:00:00 2001 From: Edmund Kump Date: Wed, 23 Oct 2024 15:40:37 -0400 Subject: [PATCH] add stale PR GH workflow (#688) add stale PR GH workflow and free up large packages to provide more disk space to CI --- .github/workflows/stale.yml | 27 +++++++++++++++++++++++++++ .github/workflows/test.yml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..a32684085 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,27 @@ +name: "Mark stale pull requests" + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-pr-message: > + This pull request has been automatically marked as stale because it has not had recent activity. + It will be closed if no further activity occurs. To override this behavior, add the keep-open + label or update the PR. + days-before-issue-stale: -1 + days-before-issue-close: -1 + days-before-pr-stale: 90 + days-before-pr-close: 14 + stale-pr-label: "stale" + exempt-pr-labels: "keep-open" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e317b89fc..5d76ce3aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: android: true dotnet: true haskell: true - large-packages: false + large-packages: true docker-images: false swap-storage: true