Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 19 additions & 20 deletions .github/workflows/ci_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,23 @@ permissions:
contents: write

jobs:
# Auto-generate date job to update _config.yml
# YAML Lint job - runs after auto-gen-date
yamllint:
name: Lint YAML files
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}

- name: Install yamllint
run: python3 -m pip install yamllint

- name: Lint YAML files
run: "yamllint -f github -d '{extends: default, rules: {line-length: disable}}' _data/guides.yml"

# Auto-generate date job to update _config.yml
auto-gen-date:
name: Update ci_last_modified_date
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,22 +57,5 @@ jobs:
- name: Commit and Push
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "ci: Auto-update date to ${{ steps.set_date.outputs.date }}"
file_pattern: "_config.yml"

# YAML Lint job - runs after auto-gen-date
yamllint:
name: Lint YAML files
runs-on: ubuntu-latest
needs: auto-gen-date
steps:
- name: Checkout
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}

- name: Install yamllint
run: python3 -m pip install yamllint

- name: Lint YAML files
run: "yamllint -f github -d '{extends: default, rules: {line-length: disable}}' _data/guides.yml"
commit_message: "ci: Auto-update date to ${{ steps.set_date.outputs.date }} [skip ci]"
file_pattern: "_config.yml"
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ compress_html:
sass:
quiet_deps: true # https://github.com/just-the-docs/just-the-docs/issues/1541
silence_deprecations: ["import"] # https://github.com/just-the-docs/just-the-docs/issues/1607
ci_last_modified_date: "2025-10-31"
ci_last_modified_date: "2025-12-05"