mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-11 05:03:18 +08:00
* chore: update PAT secret name Signed-off-by: Dwi Siswanto <git@dw1.io> * chore: rm template-db-indexer workflow Signed-off-by: Dwi Siswanto <git@dw1.io> --------- Signed-off-by: Dwi Siswanto <git@dw1.io>
24 lines
671 B
YAML
24 lines
671 B
YAML
name: 🤖 TemplateMan
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
templateman:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'projectdiscovery/nuclei-templates'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: projectdiscovery/actions/setup/templateman@v1
|
|
with:
|
|
token: '${{ secrets.PDTEAMX_CLASSIC_PAT }}'
|
|
- run: tmc -mr -e -at <<< "$(pwd)"
|
|
- uses: projectdiscovery/actions/setup/git@v1
|
|
- uses: projectdiscovery/actions/commit@v1
|
|
with:
|
|
message: 'chore: update TemplateMan 🤖'
|
|
- name: Push changes
|
|
run: |
|
|
git pull origin $GITHUB_REF --rebase
|
|
git push origin $GITHUB_REF
|