Apply naming convention to workflows (#2581)

Co-authored-by: John Sudol <24583161+johnsudol@users.noreply.github.com>
This commit is contained in:
Bassem Dghaidi
2023-05-15 14:31:18 +02:00
committed by GitHub
parent 8a5fb6ccb7
commit 30355f742b
15 changed files with 34 additions and 33 deletions

25
.github/workflows/global-run-stale.yaml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Run Stale Bot
on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
jobs:
stale:
name: Run Stale
runs-on: ubuntu-latest
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
steps:
- uses: actions/stale@v6
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
# turn off stale for both issues and PRs
days-before-stale: -1
# turn stale back on for issues only
days-before-issue-stale: 30
days-before-issue-close: 14
exempt-issue-labels: 'pinned,security,enhancement,refactor,documentation,chore,bug,dependencies,needs-investigation'