From c60ec85a19949c13e4ec90c7e8d27c6e94eb6a18 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Tue, 12 Mar 2024 07:14:34 -0600 Subject: [PATCH] Test for moving workflow to asterisk-ci-actions --- .github/workflows/NightlyAdmin.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/NightlyAdmin.yml b/.github/workflows/NightlyAdmin.yml index f190671ee8..06100c9511 100644 --- a/.github/workflows/NightlyAdmin.yml +++ b/.github/workflows/NightlyAdmin.yml @@ -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