目录名 muti-compare 似乎有拼写错误,应该是 multi-compare #17
This file contains hidden or 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: spam issues check | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| permissions: | |
| issues: write | |
| jobs: | |
| spam-issues-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Check for keywords | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const script = require('./.github/workflows/spam-issues-check.js') | |
| await script({github, context}) | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |