Skip to content

Commit

Permalink
chore: refine oscp workflow (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
tongke6 authored Mar 5, 2025
1 parent 364ac40 commit 7513aa3
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/oscp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +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: 1 # FIXME: change this to 7 after test passed
labels: 'OSCP,documentation'
last-activity: 7
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@main
with:
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@main
with:
last-activity: 49
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 7513aa3

Please sign in to comment.