Add issues_needing_comment script (#24839)

This might require a few follow-up commits to get this to work! 😅

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-02-13 18:48:06 -05:00 committed by GitHub
parent 9094f53211
commit e133d3b31e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 572 additions and 1 deletions

32
.github/workflows/issue_response.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Issue Response
on:
schedule:
- cron: "0 12 * * 2"
workflow_dispatch:
jobs:
issue-response:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: "script/issues_needing_comments/pnpm-lock.yaml"
- run: pnpm install --dir script/issues_needing_comments
- name: Run Issue Response Script
run: pnpm run --dir script/issues_needing_comments ts-node main.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_ISSUE_RESPONSE_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_RESPONSE_WEBHOOK_URL }}