From 87cdf34afda542b0d473a926eabab5a4f260cf52 Mon Sep 17 00:00:00 2001
From: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Date: Wed, 21 Dec 2022 12:34:34 -0800
Subject: [PATCH 1/4] Create linkcheck.yml
Signed-off-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
---
.github/workflows/linkcheck.yml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 .github/workflows/linkcheck.yml
diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml
new file mode 100644
index 00000000..1390877b
--- /dev/null
+++ b/.github/workflows/linkcheck.yml
@@ -0,0 +1,22 @@
+# This is a basic workflow to help you get started with link checks in md files
+
+name: Check links in documentation
+
+# Controls when the workflow will run
+on:
+ # Triggers the workflow on push or pull request events but only for the "main" branch
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ markdown-link-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - uses: gaurav-nelson/github-action-markdown-link-check@v1
From 864044801c2b6331d184de798400febed0509a03 Mon Sep 17 00:00:00 2001
From: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Date: Wed, 21 Dec 2022 12:46:11 -0800
Subject: [PATCH 2/4] Update linkcheck.yml
Signed-off-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
---
.github/workflows/linkcheck.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml
index 1390877b..e96f8207 100644
--- a/.github/workflows/linkcheck.yml
+++ b/.github/workflows/linkcheck.yml
@@ -20,3 +20,6 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
+ with:
+ use-verbose-mode: 'yes'
+
From a625ee593fbe66fe07d4ec8af3ba030cfb08770f Mon Sep 17 00:00:00 2001
From: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Date: Wed, 21 Dec 2022 12:56:10 -0800
Subject: [PATCH 3/4] Update README.rst
Signed-off-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
---
README.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.rst b/README.rst
index e8692deb..6c6970fa 100644
--- a/README.rst
+++ b/README.rst
@@ -303,3 +303,5 @@ provided by the bot. You will only need to do this once across all repos using o
This project has adopted the `Microsoft Open Source Code of Conduct `_.
For more information see the `Code of Conduct FAQ `_ or
contact `opencode@microsoft.com `_ with any additional questions or comments.
+
+Add bogus [link](some link)
From f03a37090470f9810dc474133e1538c997a7487e Mon Sep 17 00:00:00 2001
From: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Date: Wed, 11 Jan 2023 11:48:59 -0800
Subject: [PATCH 4/4] Update linkcheck.yml
Signed-off-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
---
.github/workflows/linkcheck.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml
index e96f8207..e8103666 100644
--- a/.github/workflows/linkcheck.yml
+++ b/.github/workflows/linkcheck.yml
@@ -22,4 +22,4 @@ jobs:
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
-
+ file-extension: '.rst'