【中国疾病预防控制中心】全球传染病事件风险评估报告栏目下标题抓不到,抓到的是1970-01-01 00:00:00 #2934
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment on Issue | |
on: | |
issues: | |
types: [opened, edited, reopened] | |
jobs: | |
testRoute: | |
name: Call maintainers | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
issues: write | |
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 }) |