Skip to content

fix(deps): update non-major dependencies #7187

fix(deps): update non-major dependencies

fix(deps): update non-major dependencies #7187

Workflow file for this run

name: Linting
on:
pull_request:
types: [synchronize, ready_for_review, opened, labeled]
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check if manual review has been performed
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
id: labels
with:
result-encoding: string
script: |
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
...context.repo,
issue_number: context.issue.number
});
return labels.map(l => l.name).includes('ci:manual-approve:linting')
outputs:
result: ${{ steps.labels.outputs.result }}
vale:
needs: check
if: needs.check.outputs.result == 'false'
name: Vale
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@4edd678ac3f81e2dc578756871e4d00c19191daf # 4edd678ac3f81e2dc578756871e4d00c19191daf
with:
sha: ${{ github.sha }}
files: |
app/**/*.md
app/_landing_pages/**/*.yaml
files_ignore: |
app/assets/**
app/_references/**
json: true
quotepath: false
escape_json: false
- uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
if: steps.changed-files.outputs.any_changed == 'true'
with:
fail_on_error: true
files: '${{ steps.changed-files.outputs.all_changed_files }}'
filter_mode: file
reporter: github-pr-annotations
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Prepare Frontmatters for Vale
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
cd tools/vale-frontmatter
npm ci
node index.js $CHANGED_FILES
- uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
if: steps.changed-files.outputs.any_changed == 'true'
with:
fail_on_error: true
files: '${{ steps.changed-files.outputs.all_changed_files }}'
files_ignore: |
app/_references/**
filter_mode: file
reporter: github-pr-annotations
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}