ci: move secret guardrails to self-hosted runner
This commit is contained in:
5
.github/workflows/secret-guardrails.yml
vendored
5
.github/workflows/secret-guardrails.yml
vendored
@@ -3,10 +3,11 @@ name: secret-guardrails
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
artifact-secret-scan:
|
artifact-secret-scan:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux, x64, nomad, truenas-stacks]
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -20,7 +21,7 @@ jobs:
|
|||||||
run: scripts/scan-secret-bearing-artifacts.sh --tracked
|
run: scripts/scan-secret-bearing-artifacts.sh --tracked
|
||||||
|
|
||||||
gitleaks:
|
gitleaks:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux, x64, nomad, truenas-stacks]
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user