Skip to content

baseliner

baseliner #5

Workflow file for this run

name: baseliner
on:
schedule:
- cron: "0 6 * * 1" # Mondays 06:00 UTC
workflow_dispatch:
jobs:
scan:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Install baseliner
run: curl -fsSL https://raw.githubusercontent.com/baselinerhq/baseliner/main/scripts/install.sh | bash
env:
VERSION: v0.2.1 # pinned: reproducible + skips the latest-release API lookup
- name: Run baseliner
run: |
"$HOME/.local/bin/baseliner" scan \
--config baseliner.yaml \
--output-file results.json \
--format both
env:
GITHUB_TOKEN: ${{ secrets.BASELINER_TOKEN }}
- name: Upload results
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: baseliner-results
path: results.json
if-no-files-found: warn