Example #228
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
name: Example | |
on: | |
schedule: | |
- cron: '12 22 * * *' # Runs at 22:12 UTC every day | |
jobs: | |
# Best used in combination with actions/stale to assign a Stale label | |
unassign-issues-labeled-waiting-for-contributor-after-7-days-of-inactivity: | |
name: Unassign issues labeled "Wartet auf Contributor" after 7 days of inactivity. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@main | |
with: | |
last-activity: 7 # After how many days the issue should get unassigned | |
labels: 'Stale' # Only search for issues containing this labels (comma-separated) | |
exempt-assignees: 'Octo,Cat' # Exempt some assignees from being unassigned | |
labels-to-remove: 'Stale' # Labels to remove after unassigning an issue | |
message: 'Automatically unassigned after 7 days of inactivity.' |