Skip to content

Commit

Permalink
Update Issue-assign.yml (#7582)
Browse files Browse the repository at this point in the history
  • Loading branch information
anushkrishnav authored Oct 30, 2021
1 parent 2d56a79 commit abad4e0
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/Issue-assign.yml
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

0 comments on commit abad4e0

Please sign in to comment.