## Description Adds a new exception on the stale check workflow. If the PR has the flag of "User Testing", it will not mark it as stale. <!-- This is an auto-generated comment: Cypress test results --> > [!WARNING] > Tests have not run on the HEAD f27d4ceaf7b36227481c8a11a882c5d5c9fe07ea yet > <hr>Wed, 21 Aug 2024 08:34:31 UTC <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added the `User Testing` label to the list of exempt labels, preventing pull requests in user testing from being closed due to inactivity. This enhances workflow management for extended reviews or testing periods. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
30 lines
987 B
YAML
30 lines
987 B
YAML
### https://github.com/actions/stale
|
|
name: Mark stale issues and pull requests
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '32 16 * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-pr-stale: 7
|
|
days-before-issue-stale: 7
|
|
stale-issue-message: 'This **critical** issue has not seen activity for a while. It will be closed in 7 days unless further activity is detected or the Critical tag is removed.'
|
|
stale-pr-message: 'This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.'
|
|
close-issue-message: 'This issue has been closed because of inactivity.'
|
|
close-pr-message: 'This PR has been closed because of inactivity.'
|
|
only-issue-labels: 'Critical'
|
|
exempt-pr-labels: 'Dont merge,WIP,User Testing'
|
|
|
|
|