Skip to content

Harden repository ownership and CI #5

Harden repository ownership and CI

Harden repository ownership and CI #5

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
validate:
name: validate
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Validate repository
run: scripts/validate-repo.sh
- name: Install Cortex Code CLI
run: |
curl -LsS https://ai.snowflake.com/static/cc-scripts/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Validate Cortex plugin
run: cortex plugin validate .
- name: Lint Markdown
run: npx --yes markdownlint-cli2 "**/*.md"