diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f88dd027e..267b440a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,10 @@ jobs: name: Test runs-on: ubuntu-20.04 steps: + - name: Init check + if: ${{ github.repository != 'AmazeeLabs/silverback-template'}} + run: echo 'Please run the INIT script. See the root README.md for instructions.' && false + - name: Checkout uses: actions/checkout@v3 with: diff --git a/INIT.md b/INIT.md index 7b43b55b4..ff7f38219 100644 --- a/INIT.md +++ b/INIT.md @@ -121,6 +121,12 @@ replace( ); ``` +Remove the init script check. + +```ts +replace('.github/workflows/test.yml', / - name: Init check.*?\n\n/gs, ''); +``` + Remove the init script. ```ts