Skip to content

Errors thrown in getServerSideProps result in full page reload without respecting the second argument in router.push #305

Errors thrown in getServerSideProps result in full page reload without respecting the second argument in router.push

Errors thrown in getServerSideProps result in full page reload without respecting the second argument in router.push #305

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 }}