Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/general_daily_security.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: Security audit
permissions: {}

on:
schedule:
Expand All @@ -8,9 +9,16 @@ on:

jobs:
audit:
name: Audit
runs-on: ubuntu-latest
permissions:
contents: read
checks: write # rustsec/audit-check reports findings as a check run
issues: write # rustsec/audit-check opens/updates issues for new advisories
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions-rs/audit-check@35b7b53b1e25b55642157ac01b4adceb5b9ebef3 # renovate: tag=v1.2.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
171 changes: 0 additions & 171 deletions .github/workflows/pr_cockpit.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/pr_docs.yml

This file was deleted.

115 changes: 0 additions & 115 deletions .github/workflows/pr_general.yml

This file was deleted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should switch to prek instead.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, #792de01a

Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
---
name: pre-commit
name: prek

on:
pull_request:
merge_group:

permissions: {}

env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN_VERSION: "nightly-2025-05-26"
HADOLINT_VERSION: "v1.17.6"
NIX_VERSION: "2.25.2"

jobs:
pre-commit:
prek:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- uses: stackabletech/actions/run-pre-commit@5901c3b1455488820c4be367531e07c3c3e82538 # v0.4.0
- uses: stackabletech/actions/run-prek@0fe048f952bee522474903a925ea48dc706a0bb4 # v0.17.5
with:
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}
hadolint: ${{ env.HADOLINT_VERSION }}
Expand Down
Loading