Skip to content

Commit

Permalink
Update schedule-monthly-reopen.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Nov 20, 2023
1 parent aa43ced commit a62740a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/schedule-monthly-reopen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ on:
issue_comment:
types: [created, edited]



# Currently, this is triggered by any new comment on any issue. not good.
jobs:

# Checks to see whether the title of the issue contains the words 'Review Inactive Team Members'
# AND whether the comment's body contains the words 'want to come back' OR 'bot made a mistake'
First-Pass:
Expand All @@ -26,7 +23,7 @@ jobs:
return issueNumber
# Apply the `ready for dev lead` label
- name: Add Dev Lead label
- name: Add `ready for dev lead` label
id: add-dev-lead
uses: actions/github-script@v7
with:
Expand All @@ -37,6 +34,7 @@ jobs:
issue_number: ${{ steps.check-comment.outputs.result }},
labels: ['ready for dev lead'],
});
console.log("Add the `ready for dev lead` label.")
# Reopens the issue
- name: Reopen issue
Expand Down

0 comments on commit a62740a

Please sign in to comment.