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:
parent
9094f53211
commit
e133d3b31e
5 changed files with 572 additions and 1 deletions
32
.github/workflows/issue_response.yml
vendored
Normal file
32
.github/workflows/issue_response.yml
vendored
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue