From 14b9da04e090daec6924f69d64725425f60b2c1f Mon Sep 17 00:00:00 2001 From: tongke <124763920+tongke6@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:36:08 +0800 Subject: [PATCH] Add unassign stable oscp issue workflow (#476) --- .github/workflows/oscp.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/oscp.yml diff --git a/.github/workflows/oscp.yml b/.github/workflows/oscp.yml new file mode 100644 index 0000000..403918b --- /dev/null +++ b/.github/workflows/oscp.yml @@ -0,0 +1,16 @@ +name: Unassign Stale OSCP Issues + +on: + schedule: + - 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 + with: + last-activity: 1 # FIXME: change this to 7 after test passed + labels: 'OSCP,documentation' + 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.' +