Skip to content

chore(security): add repo sentinel hygiene gate #1

chore(security): add repo sentinel hygiene gate

chore(security): add repo sentinel hygiene gate #1

Workflow file for this run

name: Repo Sentinel
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
repo-sentinel:
name: Repo Sentinel
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install repo-sentinel-lite
run: |
python3 -m venv "$RUNNER_TEMP/repo-sentinel-venv"
"$RUNNER_TEMP/repo-sentinel-venv/bin/python" -m pip install --upgrade pip
"$RUNNER_TEMP/repo-sentinel-venv/bin/python" -m pip install repo-sentinel-lite
- name: Run repository hygiene gate
run: |
"$RUNNER_TEMP/repo-sentinel-venv/bin/repo-sentinel" scan \
--fail-on-severity error \
--format text \
.