Syncing Templates

main
[PDBot] 2024-08-08 20:53:22 +00:00
parent cbe56e19cd
commit d358e22f09
1 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,4 @@
name: Sync Repositories Workflow name: Sync Repositories Workflow
on: on:
push: push:
paths: paths:
@ -40,13 +39,11 @@ on:
- 'javascript/misconfiguration/x11/x11-unauth-access.yaml' - 'javascript/misconfiguration/x11/x11-unauth-access.yaml'
- 'javascript/udp/detection/db2-discover.yaml' - 'javascript/udp/detection/db2-discover.yaml'
workflow_dispatch: workflow_dispatch:
workflow_call:
jobs: jobs:
sync: sync:
if: github.repository == 'projectdiscovery/nuclei-templates' if: github.repository == 'projectdiscovery/nuclei-templates'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: projectdiscovery/actions/templates/sync@v1 - uses: projectdiscovery/actions/templates/sync@v1
with: with:
token: '${{ secrets.GTOKEN }}' token: ${{ secrets.GTOKEN }}