Skip to content

docs: add CLI option to rotating API keys tutorial #431

docs: add CLI option to rotating API keys tutorial

docs: add CLI option to rotating API keys tutorial #431

Workflow file for this run

name: PR Quality Checks
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
test-live-docs:
name: Test live-docs scripts
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.14'
- name: Install dependencies
run: pip install requests pytest
- name: Run tests
run: pytest tests/
validate-title:
name: Validate PR Title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Check PR title follows Conventional Commit format
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure allowed types (based on conventional commits)
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
# Don't require a scope (e.g., "feat(<scope>): ...")
requireScope: false
# Don't allow subject to start with uppercase letter
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject (description) should start with a lowercase letter.
Example: "feat(api): add new endpoint" (not "feat(api): Add new endpoint")