Skip to content

chore: add emeritus members to working groups (#563) #68

chore: add emeritus members to working groups (#563)

chore: add emeritus members to working groups (#563) #68

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
inputs:
fetch-external-links:
type: boolean
description: Check if external links are broken
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
- name: Setup Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
with:
node-version: 18.x
- name: Create a Temporary package.json
run: npm init --yes
- name: Install @electron/lint-roller
run: npm install --save-dev @electron/lint-roller
- name: Run markdownlint
run: npx electron-markdownlint "**/*.md"
- name: Lint links
run: npx electron-lint-markdown-links --root . --ignore-path .markdownlintignore "**/*.md"
if: ${{ always() }}
- name: Check external links
run: npx electron-lint-markdown-links --root . --ignore-path .markdownlintignore --fetch-external-links "**/*.md"
if: ${{ github.event.inputs.fetch-external-links }}