ci(comment-on-issue): bugfix, polish phrases (#9773) [skip ci]

This commit is contained in:
Rongrong
2022-05-16 16:06:17 -07:00
committed by GitHub
parent 73b553de76
commit eeb37848cb
2 changed files with 26 additions and 23 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Comment on Issue
on:
issues:
types: [opened]
jobs:
testRoute:
name: Call maintainers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3 # just need its cache
with:
node-version: 16
cache: 'yarn'
- name: Install dependencies (yarn) # needed since we need to parse markdown, so we also use got instead
run: yarn
- 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 await script({ github, context, core })