Skip to content

Merge pull request #10513 from rxerium/searxng-detect #5256

Merge pull request #10513 from rxerium/searxng-detect

Merge pull request #10513 from rxerium/searxng-detect #5256

Workflow file for this run

name: 🥳 New Template List
on:
push:
branches:
- main
paths:
- '**.yaml'
workflow_dispatch:
release:
types: [published]
env:
NEW_ADDITION_FILE: '.new-additions'
jobs:
new-addition:
runs-on: ubuntu-latest
if: github.repository == 'projectdiscovery/nuclei-templates'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate new addition list
run: |
git pull
git diff --name-only --diff-filter=A $(git tag | tail -n 1) @ . | grep .yaml | tee $NEW_ADDITION_FILE
- uses: projectdiscovery/actions/setup/git@v1
- uses: projectdiscovery/actions/commit@v1
with:
files: '${{ env.NEW_ADDITION_FILE }}'
message: 'chore: generate new addition list 🤖'
- run: |
git pull origin $GITHUB_REF --rebase
git push origin $GITHUB_REF
sync:
needs: new-addition
uses: ./.github/workflows/templates-sync.yml

Check failure on line 39 in .github/workflows/new-templates.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/new-templates.yml

Invalid workflow file

error parsing called workflow ".github/workflows/new-templates.yml" -> "./.github/workflows/templates-sync.yml" (source branch with sha:5f3f7f49f385f0a8192de3db000fe375e460c363) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets: inherit