希望添加重庆市国有资产监督管理委员会-国企招聘页面订阅 #1312
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 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v3 # just need its cache | |
with: | |
node-version: lts/* | |
cache: 'pnpm' | |
- name: Install dependencies (pnpm) # needed since we need to parse markdown, so we also use got instead | |
run: pnpm i | |
- name: Generate feedback | |
uses: actions/github-script@v6 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/workflow/test-issue/call-maintainer.js`) | |
return script({ github, context, core }) |