* chore(deps): bump pnpm/action-setup from 3 to 4 Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 3 to 4. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v3...v4) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: remove version in pnpm/action-setup since it also reads from package.json --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
864 B
YAML
29 lines
864 B
YAML
name: Comment on Issue
|
|
|
|
on:
|
|
issues:
|
|
types: [opened, edited, reopened]
|
|
|
|
jobs:
|
|
testRoute:
|
|
name: Call maintainers
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
if: github.event.sender.login != 'issuehunt-oss[bot]'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: lts/*
|
|
cache: 'pnpm'
|
|
- name: Install dependencies (pnpm) # import remark-parse and unified
|
|
run: pnpm i
|
|
- name: Generate feedback
|
|
uses: actions/github-script@v7
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
script: |
|
|
const { default: callMaintainer } = await import('${{ github.workspace }}/scripts/workflow/test-issue/call-maintainer.mjs')
|
|
await callMaintainer({ github, context, core })
|