Skip to content

Commit

Permalink
ci: add new workflow to check if versioned_docs has been modified
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaerten committed Jul 9, 2024
1 parent cdafc67 commit 5b4ef24
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,20 @@ jobs:

- name: check-jsonschema (metaschema)
run: check-jsonschema --check-metaschema website/static/schema.json
check_doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v44
with:
files: versioned_docs/** # Alternatively using: `docs/**`

- name: Run step if any file(s) in the docs folder change
if: steps.changed-files-specific.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
run: |
echo "One or more files in the docs folder has changed."
echo "List all the files that have changed: $ALL_CHANGED_FILES"
2 changes: 1 addition & 1 deletion website/versioned_docs/version-latest/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: /changelog/
sidebar_position: 14
---

# Changelog
# Changelogg

## v3.38.0 - 2024-06-30

Expand Down

0 comments on commit 5b4ef24

Please sign in to comment.