-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d56a79
commit abad4e0
Showing
1 changed file
with
22 additions
and
22 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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
name: Assign | ||
# name: Assign | ||
|
||
on: | ||
schedule: | ||
- cron: '*/2 * * * *' | ||
issue_comment: | ||
types: [created] | ||
# on: | ||
# schedule: | ||
# - cron: '*/2 * * * *' | ||
# issue_comment: | ||
# types: [created] | ||
|
||
jobs: | ||
slash_assign: | ||
# If the acton was triggered by a new comment that starts with `/assign` | ||
# or a on a schedule | ||
if: > | ||
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/assign')) || | ||
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign the user or unassign stale assignments | ||
uses: JasonEtco/[email protected] | ||
with: | ||
assigned_label: Assigned | ||
days_until_warning: 5 | ||
days_until_unassign: 7 | ||
stale_assignment_label: Open | ||
# jobs: | ||
# slash_assign: | ||
# # If the acton was triggered by a new comment that starts with `/assign` | ||
# # or a on a schedule | ||
# if: > | ||
# (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/assign')) || | ||
# github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Assign the user or unassign stale assignments | ||
# uses: JasonEtco/[email protected] | ||
# with: | ||
# assigned_label: Assigned | ||
# days_until_warning: 5 | ||
# days_until_unassign: 7 | ||
# stale_assignment_label: Open |