Skip to content

Restrict users to selected domain #127

Restrict users to selected domain

Restrict users to selected domain #127

Workflow file for this run

---
name: Lint files
# Run workflow on pushes to matching branches
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint_markdown:
name: Lint Markdown files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint Markdown
uses: articulate/actions-markdownlint@v1
with:
config: .markdownlint.json
lint_python:
name: Lint Python files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install hatch
run: pip install hatch
- name: Lint Python
run: hatch run lint:all
lint_yaml:
name: Lint YAML files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint YAML
uses: karancode/[email protected]
with:
yamllint_strict: true
yamllint_comment: false