diff --git a/.github/workflows/templating.yml b/.github/workflows/templating.yml deleted file mode 100644 index d3dd39c..0000000 --- a/.github/workflows/templating.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Apply caz templating - -on: [push] - -jobs: - run-caz: - # Avoid running more than once - if: ${{ github.repository != 'web-illinois/toolkit-template' && github.repository != 'marvel-uiuc/template-ilw' && github.run_number == 1 }} - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - ref: ${{ github.head_ref }} - - uses: actions/setup-node@v4 - with: - node-version: 20 - - name: Apply caz template - run: npx -y caz ./ output --name ${{ github.event.repository.name }} --repository ${{ github.repository }} - - name: Commit template changes - run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - rm -rf template index.js .gitignore package-lock.json README.md - cp -rT output . - rm -rf output - git add -A - git commit -a -m "chore: init template" - git push --force \ No newline at end of file