This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
cron #328
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cron | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v7 | |
with: | |
stale-issue-message: "Issues are closed after 30 days of inactivity. It’s been at least 20 days since the last update here." | |
stale-pr-message: "Pull requests are closed after 30 days of inactivity. It’s been at least 20 days since the last update here." | |
days-before-stale: 20 | |
days-before-close: 10 | |
exempt-issue-labels: not stale | |
exempt-pr-labels: not stale | |
stale-issue-label: stale | |
cleanup: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- uses: actions/delete-package-versions@v4 | |
with: | |
owner: joshuaavalon | |
package-name: cloudflare-ddns | |
package-type: container | |
ignore-versions: "(^\\d+\\.\\d+\\.\\d+$|^\\w+$)" |