Skip to content

Commit

Permalink
ci: fix lint workflow (#573)
Browse files Browse the repository at this point in the history
* ci: fix lint workflow

* ci: try alt way of accessing inputs
  • Loading branch information
dsanders11 authored May 15, 2024
1 parent 6c11946 commit 213400c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- name: Create a Temporary package.json
run: npm init --yes
- name: Install @electron/lint-roller
run: npm install --save-dev @electron/lint-roller
run: npm install --save-dev @electron/lint-roller@^2.1.0
- name: Run markdownlint
run: npx electron-markdownlint "**/*.md"
- name: Lint links
run: npx electron-lint-markdown-links --ignore-path .markdownlintignore "**/*.md"
run: npx lint-roller-markdown-links --ignore-path .markdownlintignore "**/*.md"
if: ${{ always() }}
- name: Check external links
run: npx electron-lint-markdown-links --ignore-path .markdownlintignore --fetch-external-links "**/*.md"
if: ${{ github.event.inputs.fetch-external-links }}
run: npx lint-roller-markdown-links --ignore-path .markdownlintignore --fetch-external-links "**/*.md"
if: ${{ inputs.fetch-external-links }}

0 comments on commit 213400c

Please sign in to comment.