Skip to content

Commit

Permalink
fix: use create workflow instead of push
Browse files Browse the repository at this point in the history
  • Loading branch information
marvel-uiuc committed Jul 16, 2024
1 parent 3822f1d commit 4bd6823
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/templating.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
name: Apply caz templating

on: [push]
on:
create

jobs:
run-caz:
# Avoid running more than once
if: ${{ github.repository != 'web-illinois/toolkit-template' && github.repository != 'marvel-uiuc/template-ilw' && hashFiles('template/package.json') != '' }}
if: ${{ github.event.ref == github.event.master_branch }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
ref: ${{ github.ref }}
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down

0 comments on commit 4bd6823

Please sign in to comment.