mirror of
https://github.com/pi-hole/pi-hole.git
synced 2026-08-04 06:43:39 +00:00
Bumps the github-actions-dependencies group with 1 update: [actions/stale](https://github.com/actions/stale).
Updates `actions/stale` from 10.4.0 to 11.0.0
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](1e223db275...4391f3da66)
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: 11.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
name: Close stale PR
|
|
# This action will add a `stale` label and close immediately every PR that meets the following conditions:
|
|
# - it is already marked with "merge conflict" label
|
|
# - there was no update/comment on the PR in the last 30 days.
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 10 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 #v11.0.0
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
# Do not automatically mark PR/issue as stale
|
|
days-before-stale: -1
|
|
# Override 'days-before-stale' for PR only
|
|
days-before-pr-stale: 30
|
|
# Close PRs immediately, after marking them 'stale'
|
|
days-before-pr-close: 0
|
|
# only run the action on merge conflict PR
|
|
any-of-labels: 'PR: Merge Conflict'
|
|
exempt-pr-labels: 'internal, never-stale, ON HOLD, WIP'
|
|
exempt-all-pr-assignees: true
|
|
operations-per-run: 300
|
|
stale-pr-message: ''
|
|
close-pr-message: 'Existing merge conflicts have not been addressed. This PR is considered abandoned.'
|