mirror of
https://github.com/pi-hole/docs.git
synced 2026-02-15 07:26:03 +00:00
Bumps the github_action-dependencies group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [actions/setup-node](https://github.com/actions/setup-node) and [actions/stale](https://github.com/actions/stale). Updates `actions/checkout` from 3.6.0 to 4.1.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.6.0...v4.1.1) Updates `actions/setup-python` from 4.7.0 to 5.0.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4.7.0...v5.0.0) Updates `actions/setup-node` from 3.8.1 to 4.0.1 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.8.1...v4.0.1) Updates `actions/stale` from 8.0.0 to 9.0.0 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v8.0.0...v9.0.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github_action-dependencies - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: github_action-dependencies - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major dependency-group: github_action-dependencies - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major dependency-group: github_action-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
1.2 KiB
YAML
36 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@v9.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: '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.'
|