From 3e2ac3b3315c3a5cf8523b18cc4d15c325b4a22d Mon Sep 17 00:00:00 2001 From: vasilije Date: Sun, 26 Jan 2025 17:40:15 +0100 Subject: [PATCH] fix modal --- .github/workflows/clean_stale_pr.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/clean_stale_pr.yaml diff --git a/.github/workflows/clean_stale_pr.yaml b/.github/workflows/clean_stale_pr.yaml new file mode 100644 index 000000000..80cbde664 --- /dev/null +++ b/.github/workflows/clean_stale_pr.yaml @@ -0,0 +1,24 @@ +name: clean | remove stale PRs + +on: + # Run this action periodically (daily at 0:00 UTC in this example). + schedule: + - cron: "0 0 * * *" + # Optionally, also run when pull requests are labeled, unlabeled, synchronized, or reopened + # to update the stale timer as needed. Uncomment if desired. + # pull_request: + # types: [labeled, unlabeled, synchronize, reopened] + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - name: Mark and Close Stale + uses: actions/stale@v6 + with: + # Number of days of inactivity before the pull request is marked stale + days-before-stale: 60 + # Number of days of inactivity after being marked stale before the pull request is closed + days-before-close: 7 + # Comment to post when marking as stale + stale-pr-message: "This pull request has been automatically marke