mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Having newline between I think didn't apply the PR stale days setting of 30 properly (it was using 45) And it seemd that unless I set the days-before-close to -1 intentionally, it would still close the Issue/PRs, as the default value is 7 already. Also updated version of the stale action to v8
17 lines
353 B
YAML
17 lines
353 B
YAML
name: 'Handle stale issues and PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '30 1 * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v8
|
|
with:
|
|
days-before-stale: 30
|
|
days-before-close: -1
|
|
stale-issue-label: 'stale'
|
|
stale-pr-label: 'stale'
|
|
remove-stale-when-updated: true
|