Skip to content

Commit

Permalink
Merge pull request #5813 from projectdiscovery/dev
Browse files Browse the repository at this point in the history
v3.3.6
  • Loading branch information
ehsandeep authored Nov 21, 2024
2 parents 8d0d288 + 28abf56 commit 419f08f
Show file tree
Hide file tree
Showing 92 changed files with 1,654 additions and 641 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
name: 🤖 dep auto merge
name: 🤖 Auto Merge

on:
pull_request:
branches:
- dev
workflow_dispatch:
pull_request_review:
types: [submitted]
workflow_run:
workflows: ["♾️ Compatibility Check"]
types:
- completed

permissions:
pull-requests: write
issues: write
repository-projects: write

jobs:
automerge:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.DEPENDABOT_PAT }}

Expand Down
70 changes: 0 additions & 70 deletions .github/workflows/build-test.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/compability-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: ♾️ Compatibility Check

on:
pull_request:
types: [opened, synchronize]
branches:
- dev

jobs:
check:
if: github.actor == 'dependabot[bot]'
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: projectdiscovery/actions/setup/go@v1
- run: go mod download && go mod verify && go vet ./...
4 changes: 2 additions & 2 deletions .github/workflows/dockerhub-push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🌥 Docker Push
name: 🐳 Docker Push

on:
workflow_run:
Expand All @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
steps:
- name: Git Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get GitHub tag
id: meta
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/functional-test.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/generate-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ⏰ Generate Docs

on:
push:
branches:
- dev
workflow_dispatch:

jobs:
publish-docs:
if: "${{ !endsWith(github.actor, '[bot]') }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: projectdiscovery/actions/setup/go@v1
- uses: projectdiscovery/actions/setup/git@v1
- run: make syntax-docs
- run: git status -s | wc -l | xargs -I {} echo CHANGES={} >> $GITHUB_OUTPUT
id: status
- uses: projectdiscovery/actions/commit@v1
if: steps.status.outputs.CHANGES > 0
with:
files: |
SYNTAX-REFERENCE.md
nuclei-jsonschema.json
message: 'docs: update syntax & JSON schema 🤖'
- run: git push origin $GITHUB_REF
22 changes: 0 additions & 22 deletions .github/workflows/lint-test.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/perf-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 🔨 Performance Test

on:
schedule:
- cron: '0 0 * * 0' # Weekly
workflow_dispatch:

jobs:
perf-test:
strategy:
matrix:
count: [50, 100, 150]
runs-on: ubuntu-latest
if: github.repository == 'projectdiscovery/nuclei'
env:
LIST_FILE: "/tmp/targets-${{ matrix.count }}.txt"
steps:
- uses: actions/checkout@v4
- uses: projectdiscovery/actions/setup/go@v1
- run: make verify
- name: Generate list
run: for i in {1..${{ matrix.count }}}; do echo "https://scanme.sh/?_=${i}" >> "${LIST_FILE}"; done
- run: go run -race . -l "${LIST_FILE}"
working-directory: cmd/nuclei/

31 changes: 0 additions & 31 deletions .github/workflows/performance-test.yaml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/publish-docs.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/release-test.yml

This file was deleted.

Loading

0 comments on commit 419f08f

Please sign in to comment.