29 lines
798 B
YAML
29 lines
798 B
YAML
name: Stale conflicts
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '30 3 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
warn:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v11
|
|
with:
|
|
only-pr-labels: needs rebase
|
|
days-before-issue-stale: -1
|
|
days-before-issue-close: -1
|
|
days-before-pr-stale: 7
|
|
days-before-pr-close: -1
|
|
stale-pr-label: stale
|
|
stale-pr-message: 'This pull request has conflicted with `main` and had no activity for 7 days. Rebase it on current `main` so it can be reviewed and merged. It will not be closed automatically.'
|
|
remove-pr-stale-when-updated: true
|
|
exempt-draft-pr: true
|
|
operations-per-run: 200
|