Skip to content

Commit

Permalink
Test for moving workflow to asterisk-ci-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gtjoseph committed Mar 12, 2024
1 parent 34196f8 commit c60ec85
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/NightlyAdmin.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
name: Nightly Admin
name: NightlyAdmin
on:
schedule:
- cron: '30 1 * * *'

env:
ASTERISK_REPO: ${{ github.repository }}
PR_NUMBER: 0
PR_COMMIT: ''
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MODULES_BLACKLIST: ${{ vars.GATETEST_MODULES_BLACKLIST }} ${{ vars.UNITTEST_MODULES_BLACKLIST }}
workflow_dispatch:

jobs:
CloseStaleIssues:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
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

uses: asterisk/asterisk-ci-actions/.github/workflows/CloseStaleIssuesAndPRs.yml@main-close-stale

0 comments on commit c60ec85

Please sign in to comment.