workflow fix to run on release / create tag only
parent
7fbbf8610a
commit
db8a1bda6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue