cron-job #17
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-job | |
on: | |
schedule: | |
- cron: "0 11 * * 1" | |
workflow_dispatch: | |
jobs: | |
mark-issue-pr-stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
operations-per-run: 1000 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: | | |
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks! | |
stale-pr-message: 'Stale pull request message' | |
stale-issue-label: 'no-issue-activity' | |
stale-pr-label: 'no-pr-activity' | |
close-issue-label: 'X-stale' | |
close-pr-label: 'X-stale' | |
# Disable this for PR's, by setting a very high bar | |
days-before-pr-stale: 99999 | |
days-before-issue-stale: 180 | |
days-before-close: 10 | |
exempt-issue-labels: 'X-anchored-telemetry,X-nostale' |