Skip to content

chore(deps): update actions/checkout digest to 3d3c42e #6

chore(deps): update actions/checkout digest to 3d3c42e

chore(deps): update actions/checkout digest to 3d3c42e #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
validate:
name: Validate config
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Install baseliner
run: curl -fsSL https://raw.githubusercontent.com/baselinerhq/baseliner/main/scripts/install.sh | bash
env:
VERSION: v0.2.1 # pinned: matches the scan workflow
- name: Validate baseliner.yaml resolves
# `policy` resolves policy.base + repo_ignores from the local config
# only (no org scan, no token), so it fails fast on a malformed or
# invalid policy file.
run: |
"$HOME/.local/bin/baseliner" policy --config baseliner.yaml
- name: Validate renovate.json is well-formed
run: python3 -c "import json,sys; json.load(open('renovate.json'))"
ok:
name: ok
if: always()
needs:
- validate
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Evaluate job results
run: |
echo "Job results: ${{ toJSON(needs.*.result) }}"
- name: Fail if any required job failed or was cancelled
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1