Skip to content

Commit

Permalink
add stale PR GH workflow (#688)
Browse files Browse the repository at this point in the history
add stale PR GH workflow and free up large packages to provide more disk space to CI
  • Loading branch information
ekump authored Oct 23, 2024
1 parent 6e7ce4c commit 321e98e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
android: true
dotnet: true
haskell: true
large-packages: false
large-packages: true
docker-images: false
swap-storage: true

Expand Down

0 comments on commit 321e98e

Please sign in to comment.