1name: Issue Response
2
3on:
4 schedule:
5 - cron: "0 12 * * 2"
6 workflow_dispatch:
7
8jobs:
9 issue-response:
10 if: github.repository_owner == 'zed-industries'
11 runs-on: ubuntu-latest
12
13 steps:
14 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
15
16 - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
17 with:
18 version: 9
19
20 - name: Setup Node
21 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
22 with:
23 node-version: "20"
24 cache: "pnpm"
25 cache-dependency-path: "script/issue_response/pnpm-lock.yaml"
26
27 - run: pnpm install --dir script/issue_response
28
29 - name: Run Issue Response
30 run: pnpm run --dir script/issue_response start
31 env:
32 ISSUE_RESPONSE_GITHUB_TOKEN: ${{ secrets.ISSUE_RESPONSE_GITHUB_TOKEN }}
33 SLACK_ISSUE_RESPONSE_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_RESPONSE_WEBHOOK_URL }}