mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 23:05:26 +00:00
parent
402c286a8e
commit
bc27db2541
@ -1,10 +1,10 @@
|
|||||||
name: 🤖 dep auto merge
|
name: 🤖 Auto Merge
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_run:
|
||||||
branches:
|
workflows: ["♾️ Compatibility Check"]
|
||||||
- dev
|
types:
|
||||||
workflow_dispatch:
|
- completed
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
@ -12,7 +12,7 @@ permissions:
|
|||||||
repository-projects: write
|
repository-projects: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
automerge:
|
auto-merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.actor == 'dependabot[bot]'
|
if: github.actor == 'dependabot[bot]'
|
||||||
steps:
|
steps:
|
||||||
4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
@ -8,8 +8,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-test:
|
||||||
name: Test Builds
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
|||||||
31
.github/workflows/codeql-analysis.yml
vendored
31
.github/workflows/codeql-analysis.yml
vendored
@ -8,32 +8,17 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
codeql-analysis:
|
||||||
name: Analyze
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
runs-on: ubuntu-latest-16-cores
|
runs-on: ubuntu-latest-16-cores
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
security-events: write
|
security-events: write
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
language: [ 'go' ]
|
|
||||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v3
|
- uses: github/codeql-action/init@v2
|
||||||
|
with:
|
||||||
# Initializes the CodeQL tools for scanning.
|
languages: 'go'
|
||||||
- name: Initialize CodeQL
|
- uses: github/codeql-action/autobuild@v2
|
||||||
uses: github/codeql-action/init@v2
|
- uses: github/codeql-action/analyze@v2
|
||||||
with:
|
|
||||||
languages: ${{ matrix.language }}
|
|
||||||
|
|
||||||
- name: Autobuild
|
|
||||||
uses: github/codeql-action/autobuild@v2
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@v2
|
|
||||||
19
.github/workflows/compability-check.yaml
vendored
Normal file
19
.github/workflows/compability-check.yaml
vendored
Normal file
@ -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
.github/workflows/dockerhub-push.yml
vendored
4
.github/workflows/dockerhub-push.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: 🌥 Docker Push
|
name: 🐳 Docker Push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest-16-cores
|
runs-on: ubuntu-latest-16-cores
|
||||||
steps:
|
steps:
|
||||||
- name: Git Checkout
|
- name: Git Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get GitHub tag
|
- name: Get GitHub tag
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
6
.github/workflows/functional-test.yml
vendored
6
.github/workflows/functional-test.yml
vendored
@ -8,12 +8,12 @@ on:
|
|||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
functional:
|
functional-test:
|
||||||
name: Functional Test
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
4
.github/workflows/lint-test.yml
vendored
4
.github/workflows/lint-test.yml
vendored
@ -8,8 +8,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint-test:
|
||||||
name: Lint Test
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
7
.github/workflows/performance-test.yaml
vendored
7
.github/workflows/performance-test.yaml
vendored
@ -3,16 +3,13 @@ name: 🔨 Performance Test
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
# Weekly
|
- cron: '0 0 * * 0' # Weekly
|
||||||
- cron: '0 0 * * 0'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
perf-test:
|
||||||
name: Test Performance
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macOS-latest]
|
os: [ubuntu-latest, macOS-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: github.repository == 'projectdiscovery/nuclei'
|
if: github.repository == 'projectdiscovery/nuclei'
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
3
.github/workflows/publish-docs.yaml
vendored
3
.github/workflows/publish-docs.yaml
vendored
@ -7,7 +7,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
publish-docs:
|
||||||
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
1
.github/workflows/release-test.yml
vendored
1
.github/workflows/release-test.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-test:
|
release-test:
|
||||||
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
runs-on: ubuntu-latest-16-cores
|
runs-on: ubuntu-latest-16-cores
|
||||||
steps:
|
steps:
|
||||||
- name: "Check out code"
|
- name: "Check out code"
|
||||||
|
|||||||
3
.github/workflows/template-validate.yml
vendored
3
.github/workflows/template-validate.yml
vendored
@ -8,12 +8,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: "! endsWith(github.actor, '[bot]')"
|
||||||
runs-on: ubuntu-latest-16-cores
|
runs-on: ubuntu-latest-16-cores
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: projectdiscovery/actions/setup/go@v1
|
- uses: projectdiscovery/actions/setup/go@v1
|
||||||
|
|
||||||
- name: Template Validation
|
- name: Template Validation
|
||||||
run: |
|
run: |
|
||||||
go run . -ut
|
go run . -ut
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user