This commit is contained in:
Yaronzz
2022-06-07 08:41:21 +08:00
parent aba9493201
commit e652556de2
+24 -24
View File
@@ -1,28 +1,28 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
# # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
# #
# # You can adjust the behavior by modifying this file.
# # For more information, see:
# # https://github.com/actions/stale
# name: Mark stale issues and pull requests
on:
schedule:
- cron: '45 15 * * *'
# on:
# schedule:
# - cron: '45 15 * * *'
jobs:
stale:
# jobs:
# stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
# runs-on: ubuntu-latest
# permissions:
# issues: write
# pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity.'
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity.'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
operations-per-run: 60
# steps:
# - uses: actions/stale@v5
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity.'
# stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity.'
# stale-issue-label: 'no-issue-activity'
# stale-pr-label: 'no-pr-activity'
# operations-per-run: 60