Skip to content

docs: update snapshotter role permissions - allow environment creation #540

docs: update snapshotter role permissions - allow environment creation

docs: update snapshotter role permissions - allow environment creation #540

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@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.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@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
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")