Skip to content

Commit 419f08f

Browse files
authored
Merge pull request #5813 from projectdiscovery/dev
v3.3.6
2 parents 8d0d288 + 28abf56 commit 419f08f

File tree

92 files changed

+1654
-641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1654
-641
lines changed

.github/workflows/dep-auto-merge.yml renamed to .github/workflows/auto-merge.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
name: 🤖 dep auto merge
1+
name: 🤖 Auto Merge
22

33
on:
4-
pull_request:
5-
branches:
6-
- dev
7-
workflow_dispatch:
4+
pull_request_review:
5+
types: [submitted]
6+
workflow_run:
7+
workflows: ["♾️ Compatibility Check"]
8+
types:
9+
- completed
810

911
permissions:
1012
pull-requests: write
1113
issues: write
1214
repository-projects: write
1315

1416
jobs:
15-
automerge:
17+
auto-merge:
1618
runs-on: ubuntu-latest
1719
if: github.actor == 'dependabot[bot]'
1820
steps:
19-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2022
with:
2123
token: ${{ secrets.DEPENDABOT_PAT }}
2224

.github/workflows/build-test.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: ♾️ Compatibility Check
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
branches:
7+
- dev
8+
9+
jobs:
10+
check:
11+
if: github.actor == 'dependabot[bot]'
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, windows-latest, macOS-latest]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: projectdiscovery/actions/setup/go@v1
19+
- run: go mod download && go mod verify && go vet ./...

.github/workflows/dockerhub-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🌥 Docker Push
1+
name: 🐳 Docker Push
22

33
on:
44
workflow_run:
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest-16-cores
1313
steps:
1414
- name: Git Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Get GitHub tag
1818
id: meta

.github/workflows/functional-test.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/generate-docs.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ⏰ Generate Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
workflow_dispatch:
8+
9+
jobs:
10+
publish-docs:
11+
if: "${{ !endsWith(github.actor, '[bot]') }}"
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: projectdiscovery/actions/setup/go@v1
16+
- uses: projectdiscovery/actions/setup/git@v1
17+
- run: make syntax-docs
18+
- run: git status -s | wc -l | xargs -I {} echo CHANGES={} >> $GITHUB_OUTPUT
19+
id: status
20+
- uses: projectdiscovery/actions/commit@v1
21+
if: steps.status.outputs.CHANGES > 0
22+
with:
23+
files: |
24+
SYNTAX-REFERENCE.md
25+
nuclei-jsonschema.json
26+
message: 'docs: update syntax & JSON schema 🤖'
27+
- run: git push origin $GITHUB_REF

.github/workflows/lint-test.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/perf-test.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 🔨 Performance Test
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0' # Weekly
6+
workflow_dispatch:
7+
8+
jobs:
9+
perf-test:
10+
strategy:
11+
matrix:
12+
count: [50, 100, 150]
13+
runs-on: ubuntu-latest
14+
if: github.repository == 'projectdiscovery/nuclei'
15+
env:
16+
LIST_FILE: "/tmp/targets-${{ matrix.count }}.txt"
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: projectdiscovery/actions/setup/go@v1
20+
- run: make verify
21+
- name: Generate list
22+
run: for i in {1..${{ matrix.count }}}; do echo "https://scanme.sh/?_=${i}" >> "${LIST_FILE}"; done
23+
- run: go run -race . -l "${LIST_FILE}"
24+
working-directory: cmd/nuclei/
25+

.github/workflows/performance-test.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)