Skip to content

Commit

Permalink
use action-unassign-contributor-after-days-of-inactivity@main
Browse files Browse the repository at this point in the history
  • Loading branch information
tongke6 committed Mar 5, 2025
1 parent 1899a56 commit da2e2cd
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/oscp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@ name: Unassign Stale OSCP Issues

on:
schedule:
- cron: '0 0 * * *' # Run at midnight every day
- cron: "0 0 * * *" # Run at midnight every day

jobs:
unassign-stale-issues:
runs-on: ubuntu-latest
steps:
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1.0.2
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@main
with:
last-activity: 7
labels: 'OSCP,good first issue'
labels: "OSCP,good first issue"
message: '由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.'
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1.0.2
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@main
with:
last-activity: 28
labels: 'OSCP,intermediate'
last-activity: 28
labels: "OSCP,intermediate"
message: '由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.'
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1.0.2
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@main
with:
last-activity: 49
labels: 'OSCP,challenge'
labels: "OSCP,challenge"
message: '由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.'

0 comments on commit da2e2cd

Please sign in to comment.