From 4904a84ac29e49eb3a1bd1f0428865a5fcc08c1a Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 28 Mar 2024 15:45:48 +0100 Subject: [PATCH] try repo root and remove main checks --- .github/workflows/md-link-check.yml | 14 +++----------- .../workflows/mlc_config.json => .mlc_config.json | 0 2 files changed, 3 insertions(+), 11 deletions(-) rename .github/workflows/mlc_config.json => .mlc_config.json (100%) diff --git a/.github/workflows/md-link-check.yml b/.github/workflows/md-link-check.yml index 2b9959d..8576600 100644 --- a/.github/workflows/md-link-check.yml +++ b/.github/workflows/md-link-check.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - main + - gh-pages jobs: markdown-link-check: @@ -16,19 +16,11 @@ jobs: with: fetch-depth: 0 - - name: Check gh-pages - if: github.ref == 'refs/heads/gh-pages' + - name: Check Links uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-quiet-mode: 'yes' use-verbose-mode: 'yes' - config-file: '.github/workflows/mlc_config.json' + config-file: '.mlc_config.json' file-path: './README.md' folder-path: '_docs/' - - - name: Check main - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' - use-verbose-mode: 'yes' - file-path: './README.md' diff --git a/.github/workflows/mlc_config.json b/.mlc_config.json similarity index 100% rename from .github/workflows/mlc_config.json rename to .mlc_config.json