mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
.github: NightlyAdmin now calls external CloseStaleIssuesAndPRs
(cherry picked from commit ce322ad16a
)
This commit is contained in:
committed by
Asterisk Development Team
parent
1b31ced994
commit
4ea6f819ee
19
.github/workflows/NightlyAdmin.yml
vendored
19
.github/workflows/NightlyAdmin.yml
vendored
@@ -1,7 +1,8 @@
|
|||||||
name: Nightly Admin
|
name: NightlyAdmin
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * *'
|
- cron: '30 1 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ASTERISK_REPO: ${{ github.repository }}
|
ASTERISK_REPO: ${{ github.repository }}
|
||||||
@@ -13,16 +14,6 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CloseStaleIssues:
|
CloseStaleIssues:
|
||||||
runs-on: ubuntu-latest
|
uses: asterisk/asterisk-ci-actions/.github/workflows/CloseStaleIssuesAndPRs.yml@main
|
||||||
steps:
|
secrets:
|
||||||
- name: Close Stale Issues
|
ASTERISKTEAM_PAT: ${{ secrets.ASTERISKTEAM_PAT }}
|
||||||
uses: actions/stale@v7
|
|
||||||
with:
|
|
||||||
stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
|
||||||
stale-issue-label: stale
|
|
||||||
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
|
|
||||||
days-before-stale: 7
|
|
||||||
days-before-close: 14
|
|
||||||
days-before-pr-close: -1
|
|
||||||
only-labels: triage,feedback-required
|
|
||||||
|
|
Reference in New Issue
Block a user