Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from probot/no-response to lee-dohm/no-response #13891

Merged
merged 5 commits into from Nov 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/no-response.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/bundler-friendly.yml
Expand Up @@ -2,8 +2,8 @@ name: Bundler_Friendly

on:
schedule:
# “At 00:00 on Sunday.” https://crontab.guru/#0%C2%A00%C2%A0*%C2%A0*%C2%A00
- cron: "0 0 * * 0"
# “At 00:00 on Sunday.” https://crontab.guru/#0_0_*_*_SUN
- cron: "0 0 * * SUN"
pull_request:
paths:
- "scripts/tools/bundle-test/**"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-package-test.yml
Expand Up @@ -2,8 +2,8 @@ name: Dev_Package_Test

on:
schedule:
# “At 00:00 on Sunday.” https://crontab.guru/#0%C2%A00%C2%A0*%C2%A0*%C2%A00
- cron: "0 0 * * 0"
# “At 00:00 on Sunday.” https://crontab.guru/#0_0_*_*_SUN
- cron: "0 0 * * SUN"
pull_request:
paths:
- "package.json"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lock.yml
Expand Up @@ -2,6 +2,7 @@ name: "Lock"

on:
schedule:
# “At 00:00.” https://crontab.guru/#0_0_*_*_*
- cron: "0 0 * * *"

jobs:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/no-response.yml
@@ -0,0 +1,30 @@
name: No Response

# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types:
- created
schedule:
# “At minute 0.” https://crontab.guru/#0_*_*_*_*
- cron: "0 * * * *"

permissions:
issues: write

jobs:
no-response:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
daysUntilClose: 14
responseRequiredLabel: "status:awaiting response"
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.