Bump @vitejs/plugin-vue from 4.6.2 to 5.0.3 #7
Workflow file for this run
This file contains 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: CI | |
on: | |
pull_request_target: | |
branches: | |
- master | |
permissions: | |
pull-requests: write | |
jobs: | |
job1: | |
name: Check Not Allowed File Changes | |
runs-on: ubuntu-latest | |
outputs: | |
markdown_change: ${{ steps.filter_markdown.outputs.change }} | |
markdown_files: ${{ steps.filter_markdown.outputs.change_files }} | |
steps: | |
- name: Check Not Allowed File Changes | |
uses: dorny/paths-filter@v2 | |
id: filter_not_allowed | |
with: | |
list-files: json | |
filters: | | |
change: | |
- 'package-lock.json' | |
- 'yarn.lock' | |
- 'pnpm-lock.yaml' | |
# ref: https://github.com/github/docs/blob/main/.github/workflows/triage-unallowed-contributions.yml | |
- name: Comment About Changes We Can't Accept | |
if: ${{ steps.filter_not_allowed.outputs.change == 'true' }} | |
uses: actions/github-script@v6 | |
with: | |
script: | |
- name: Check Not Linted Markdown | |
if: ${{ always() }} | |
uses: dorny/paths-filter@v2 | |
id: filter_markdown | |
with: | |
list-files: shell | |
filters: | | |
change: | |
- added|modified: '*.md' | |
job2: | |
name: Lint Markdown | |
runs-on: ubuntu-latest | |
needs: job1 | |
if: ${{ always() && needs.job1.outputs.markdown_change == 'true' }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Lint markdown | |
run: npx markdownlint-cli ${{ needs.job1.outputs.markdown_files }} --ignore node_modules |