Compare commits

..

2 commits

Author SHA1 Message Date
Jo
d65c18cf32
👷 Simplify checkout step in trufflehog workflow
Some checks failed
Nix: check for unused code / Run deadnix (push) Has been cancelled
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled
2025-06-20 00:56:13 +02:00
Jo
a9e5e27aab
👷 Simplify deadnix workflow 2025-06-20 00:53:02 +02:00
2 changed files with 5 additions and 13 deletions

View file

@ -1,6 +1,7 @@
name: "Trufflehog: check for exposed secrets" name: "Trufflehog: check for exposed secrets"
on: on:
workflow_dispatch:
pull_request: pull_request:
push: push:
paths: paths:
@ -18,10 +19,8 @@ jobs:
name: Run trufflehog name: Run trufflehog
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@main
uses: actions/checkout@v4
with: with:
ref: ${{ github.ref_name }}
fetch-depth: 0 fetch-depth: 0
- id: trufflehog - id: trufflehog

View file

@ -1,6 +1,7 @@
name: "Nix: check for unused code" name: "Nix: check for unused code"
on: on:
workflow_dispatch:
pull_request: pull_request:
push: push:
paths: paths:
@ -12,17 +13,9 @@ jobs:
name: Run deadnix name: Run deadnix
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
persist-credentials: false
- name: Install lix - name: Install lix
uses: ./.github/actions/install-lix uses: ./.github/actions/install-lix
- uses: cachix/cachix-action@v14
with:
name: deadnix
- uses: phucleeuwu/deadnix-action@v1 - uses: phucleeuwu/deadnix-action@v1