Add 11.6.7 Studio Pro release notes #206
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Vale Linting | |
| # Trigger on PRs that change Markdown files | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths: | |
| - 'content/en/docs/**/*.md' | |
| # Allow reading repo contents and posting PR comments | |
| # Note: Fork PRs from org members run automatically but get read-only tokens, | |
| # so reviewdog falls back to check annotations instead of review comments. | |
| # External contributors require workflow approval per repo settings. | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| vale: | |
| # Only run on Mendix repo, not forks, and not on draft PRs | |
| if: github.repository_owner == 'mendix' && github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| # Cancel old runs when new commits are pushed | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| with: | |
| sparse-checkout: | | |
| .vale.ini | |
| .vale | |
| content/en/docs | |
| sparse-checkout-cone-mode: false | |
| - name: Get changed files | |
| id: changed-files | |
| run: | | |
| FILES=$(gh pr view ${{ github.event.pull_request.number }} --json files --jq '.files[].path' | grep '^content/en/docs/.*\.md$' | paste -sd, -) | |
| echo "files=$FILES" >> $GITHUB_OUTPUT | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| - name: Run Vale | |
| if: steps.changed-files.outputs.files != '' | |
| uses: vale-cli/vale-action@v2 | |
| with: | |
| files: ${{ steps.changed-files.outputs.files }} | |
| separator: ',' | |
| version: 3.14.2 | |
| fail_on_error: false | |
| reporter: github-pr-review # Uses filter_mode=added (default): only comment on modified lines | |
| vale_flags: '--minAlertLevel=error' # Only flag errors, not warnings or suggestions |