next/image 报错 #417
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: 'Close issues using the wrong issue template' | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
close: | |
if: github.event.label.name == 'please use the correct issue template' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- run: corepack enable | |
- name: 'Close issues using the wrong issue template' | |
run: node ./.github/actions/next-repo-actions/dist/wrong-issue-template/index.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |