parent
e133d3b31e
commit
5ac82161fa
6 changed files with 148 additions and 9 deletions
15
.github/workflows/issue_response.yml
vendored
15
.github/workflows/issue_response.yml
vendored
|
@ -7,26 +7,27 @@ on:
|
|||
|
||||
jobs:
|
||||
issue-response:
|
||||
if: github.repository_owner == 'zed-industries'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
|
||||
with:
|
||||
version: 9
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: "pnpm"
|
||||
cache-dependency-path: "script/issues_needing_comments/pnpm-lock.yaml"
|
||||
cache-dependency-path: "script/issue_response/pnpm-lock.yaml"
|
||||
|
||||
- run: pnpm install --dir script/issues_needing_comments
|
||||
- run: pnpm install --dir script/issue_response
|
||||
|
||||
- name: Run Issue Response Script
|
||||
run: pnpm run --dir script/issues_needing_comments ts-node main.ts
|
||||
- name: Run Issue Response
|
||||
run: pnpm exec ts-node script/issue_response/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