workflow fix to run on release / create tag only

patch-1
sandeep 2021-10-19 02:23:08 +05:30
parent 7fbbf8610a
commit db8a1bda6f
1 changed files with 1 additions and 3 deletions

View File

@ -2,14 +2,12 @@ name: 🗒 Templates Stats
on:
create:
tags:
- v*
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'projectdiscovery/nuclei-templates'
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v2