Compare commits
3 commits
0879ce9de3
...
daa2772439
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daa2772439 | ||
| 190cb7276b | |||
| 92e04bcbac |
3 changed files with 34 additions and 2 deletions
32
.forgejo/workflows/nyx-scan.yml
Normal file
32
.forgejo/workflows/nyx-scan.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
name: NYX Security Scan
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main, master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
nyx-scan:
|
||||||
|
runs-on: docker-amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout PR
|
||||||
|
run: |
|
||||||
|
git clone --depth=1 \
|
||||||
|
"https://oauth2:${{ github.token }}@bitfreedom.net/code/${{ github.repository }}.git" \
|
||||||
|
.
|
||||||
|
git fetch --depth=1 origin ${{ github.sha }}
|
||||||
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
|
- name: Fetch action source
|
||||||
|
run: |
|
||||||
|
git clone --depth=1 --branch master \
|
||||||
|
"https://oauth2:${{ github.token }}@bitfreedom.net/code/nomyo-ai/actions.git" \
|
||||||
|
./.nyx-action
|
||||||
|
|
||||||
|
- uses: ./.nyx-action/nyx-scan
|
||||||
|
with:
|
||||||
|
forgejo_push_token: ${{ secrets.FORGEJO_PUSH_TOKEN }}
|
||||||
|
repository: ${{ github.repository }}
|
||||||
|
pr_number: ${{ github.event.pull_request.number }}
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
fail_on: HIGH
|
||||||
|
|
@ -35,7 +35,7 @@ dependencies = [
|
||||||
"h11==0.16.0",
|
"h11==0.16.0",
|
||||||
"httpcore==1.0.9",
|
"httpcore==1.0.9",
|
||||||
"httpx==0.28.1",
|
"httpx==0.28.1",
|
||||||
"idna==3.14",
|
"idna==3.15",
|
||||||
"pycparser==3.0",
|
"pycparser==3.0",
|
||||||
"typing_extensions==4.15.0",
|
"typing_extensions==4.15.0",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,6 @@ exceptiongroup==1.3.1
|
||||||
h11==0.16.0
|
h11==0.16.0
|
||||||
httpcore==1.0.9
|
httpcore==1.0.9
|
||||||
httpx==0.28.1
|
httpx==0.28.1
|
||||||
idna==3.14
|
idna==3.15
|
||||||
pycparser==3.0
|
pycparser==3.0
|
||||||
typing_extensions==4.15.0
|
typing_extensions==4.15.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue