Skip to content

Commit

Permalink
chore: updating no-response action
Browse files Browse the repository at this point in the history
  • Loading branch information
ftonato authored Aug 1, 2022
1 parent f087432 commit 5c2d0cc
Showing 1 changed file with 10 additions and 23 deletions.
33 changes: 10 additions & 23 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,21 @@ on:
issue_comment:
types: [created]
schedule:
# Schedule for every Monday at 12am
- cron: "0 0 * * 1"

permissions:
issues: write
pull-requests: write
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'

jobs:
noResponse:
if: github.repository == 'ftonato/nope-validator'
runs-on: ubuntu-latest

steps:
- name: 🥺 Handle Ghosting
uses: actions/stale@v5
uses: lee-dohm/[email protected]
with:
close-issue-message: >
This issue has been automatically closed because we haven't received a
response from the original author 🙈. This automation helps keep the issue
tracker clean from issues that are unactionable. Please reach out if you
have more information for us! 🙂
close-pr-message: >
This PR has been automatically closed because we haven't received a
response from the original author 🙈. This automation helps keep the issue
tracker clean from PRs that are unactionable. Please reach out if you
have more information for us! 🙂
days-before-close: 10
# don't automatically mark issues/PRs as stale
days-before-stale: -1
any-of-labels: needs-response
labels-to-remove-when-unstale: needs-response
closeComment: >
This issue has been automatically closed because we haven't received a response from the
original author 🙈. This automation helps keep the issue tracker clean from issues that
are unactionable. Please reach out if you have more information for us! 🙂
daysUntilClose: 10
responseRequiredLabel: needs-response
token: ${{ github.token }}

0 comments on commit 5c2d0cc

Please sign in to comment.