forked from OWASP/wrongsecrets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OWASP#1050 from za/issue-1016-90-days
Added github actions to un-assigned issues after 90 days of inactivity
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Project Management | ||
|
||
on: | ||
schedule: | ||
- cron: '0 2 * * *' | ||
|
||
jobs: | ||
# Best used in combination with actions/stale to assign a Stale label | ||
unassign-issues-labeled-waiting-for-contributor-after-90-days-of-inactivity: | ||
name: Unassign issues labeled "Stale" after 90 days of inactivity. | ||
if: github.event_name == 'schedule' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@main | ||
with: | ||
last-activity: 90 # After how many days the issue should get unassigned | ||
labels: 'stale,help wanted' # Only search for issues containing this labels (comma-separated) | ||
exempt-assignees: 'Octo,Cat,bendehaan,commjoen' # Exempt some assignees from being unassigned | ||
# labels-to-remove: 'Stale' # Labels to remove after unassigning an issue | ||
message: 'Automatically unassigned after 90 days of inactivity.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters