1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/.github/workflows/close-stale-feature-requests.yml
Ilija Tovilo c3b07a6e5e Adjust nightly org restriction check
Check for the specific repository.

Closes GH-14026
2024-04-21 02:13:49 +02:00

30 lines
944 B
YAML

name: Close stale feature requests
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
stale:
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-close: 14
days-before-stale: 90
exempt-all-assignees: true
only-issue-labels: "Status: Requires RFC,Feature"
# Hack to skip PRs, unfortunately there's no option to disable PRs
only-pr-labels: inexistent-label
stale-issue-message: >-
There has not been any recent activity in this feature request. It will automatically be closed in 14 days
if no further action is taken. Please see https://github.com/probot/stale#is-closing-stale-issues-really-a-good-idea
to understand why we auto-close stale feature requests.