diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 3b400e7..7ee1477 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -4,19 +4,9 @@ on: schedule: - cron: '0 1 * * *' + workflow_dispatch: + jobs: stale: - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - uses: actions/stale@v6 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is marked stale because it has no activity in the last 3 weeks. The issue will be closed in one week. Please remove the stale flag to keep it open.' - close-issue-message: 'This issue was closed due to no activity.' - days-before-issue-stale: 21 - days-before-issue-close: 7 - stale-issue-label: 'stale' - days-before-pr-stale: -1 - days-before-pr-close: -1 \ No newline at end of file + uses: configcat/.github/.github/workflows/stale.yml@master + secrets: inherit \ No newline at end of file