Skip to content

deps: bump typer from 0.27.0 to 0.27.2 #15

deps: bump typer from 0.27.0 to 0.27.2

deps: bump typer from 0.27.0 to 0.27.2 #15

Workflow file for this run

name: Workflow Security and Linting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ratchet:
name: Ratchet - Version Pinning Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Install ratchet
id: install-ratchet
uses: jaxxstorm/action-install-gh-release@25e24d2d23ae098373794ef1d6faecb48ee52da8
with:
repo: sethvargo/ratchet
tag: latest
- name: Run ratchet
run: |
echo "PATH: ${PATH}"
echo "Checking for ratchet..."
if command -v ratchet >/dev/null 2>&1; then
RATCHET_CMD="ratchet"
elif [ -f "${HOME}/.local/bin/ratchet" ]; then
RATCHET_CMD="${HOME}/.local/bin/ratchet"
elif [ -f "./ratchet" ]; then
RATCHET_CMD="./ratchet"
else
echo "Error: ratchet binary not found"
exit 1
fi
echo "Running: ${RATCHET_CMD} lint on workflow files"
find .github/workflows -name "*.yml" -o -name "*.yaml" | while read -r file; do
echo "Checking: ${file}"
"${RATCHET_CMD}" lint "${file}"
done
echo "Ratchet lint completed successfully"