Skip to content

Commit

Permalink
chore: initialization check
Browse files Browse the repository at this point in the history
  • Loading branch information
Leksat committed Oct 10, 2023
1 parent 2936952 commit 743ad6c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions INIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 743ad6c

Please sign in to comment.