Skip to content

fix: Test pr comments #1837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
1358598
Create lychee-links.yml
Vamshi-Microsoft May 26, 2025
0f6209a
Update lychee-links.yml
Vamshi-Microsoft May 26, 2025
f28ccf3
Check Broken links in Markdown files that are changed in the current PR
Vamshi-Microsoft May 26, 2025
9169fb9
Updated catching new md files
Vamshi-Microsoft May 26, 2025
39215ab
trigger only when .md files are changed in a PR
Vamshi-Microsoft Jun 6, 2025
6b7fc08
PRs targeting any branch
Vamshi-Microsoft Jun 9, 2025
c65c5ec
Changed Naming Conversations
Vamshi-Microsoft Jun 16, 2025
499e36e
Run it Daily and create Issue
Vamshi-Microsoft Jun 16, 2025
d4aa64f
Check Daily and create Issue check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
c8479d0
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
21e1d4e
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
4a722f3
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
88f39e1
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
fe59248
Added enhancement to fetch the issue number
Vamshi-Microsoft Jun 16, 2025
ee411ea
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
7f22ea4
New Updated File which creates/ updates existing Issue
Vamshi-Microsoft Jun 16, 2025
d66cff9
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
7aa5a04
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
bdf0632
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
b218eb0
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
61831a3
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
b3f8f98
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
5020b6d
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
18719a2
Update check-broken-links.yml
Vamshi-Microsoft Jun 16, 2025
c4f62d0
Update README.md
Vamshi-Microsoft Jun 16, 2025
0811b60
Final changes to issue creation
Vamshi-Microsoft Jun 16, 2025
696a94d
Create Broken-links-checker-Manual
Vamshi-Microsoft Jun 17, 2025
02759b0
Rename Broken-links-checker-Manual to Broken-links-checker-Manual.yml
Vamshi-Microsoft Jun 17, 2025
48443e1
Update Broken-links-checker-Manual.yml
Vamshi-Microsoft Jun 17, 2025
f52f3eb
Update Broken-links-checker-Manual.yml
Vamshi-Microsoft Jun 17, 2025
bff9574
FInal Github action including PR and full repo
Vamshi-Microsoft Jun 17, 2025
2d22d35
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 18, 2025
fa039ef
Updated Names
Vamshi-Microsoft Jun 18, 2025
a3a1845
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 18, 2025
e7401dc
Added changes to skip code within comments Broken-links-checker-final…
Vamshi-Microsoft Jun 23, 2025
7824fc2
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
1f32351
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
829ea2d
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
32ef114
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
c1326bd
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
64e0586
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
26343ad
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
7f41f8d
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
7369b43
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
368c4ea
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 23, 2025
f525e0d
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
fc7b175
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
41afa74
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
7fa1a2f
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
e31a57f
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
0f7116c
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
eac4c9f
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
fd35640
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
94da7b7
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
dffae56
Update template.md
Vamshi-Microsoft Jun 24, 2025
df35a55
Update Broken-links-checker-final.yml
Vamshi-Microsoft Jun 24, 2025
e232f22
Create test-comments.md
Vamshi-Microsoft Jun 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/Broken-links-checker-final.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Broken Link Checker

on:
pull_request:
paths:
- '**/*.md'
workflow_dispatch:

permissions:
contents: read

jobs:
markdown-link-check:
name: Check Markdown Broken Links
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Added/Modified Markdown Files (PR only)
id: changed-files
if: github.event_name == 'pull_request'
run: |
git fetch origin ${{ github.base_ref }}
files=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '\.md$' || true)
echo "md_files<<EOF" >> $GITHUB_OUTPUT
echo "$files" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Check Broken Links in Added/Modified Files (PR)
if: github.event_name == 'pull_request' && steps.changed-files.outputs.md_files != ''
uses: lycheeverse/lychee-action@v2.4.1
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
${{ steps.changed-files.outputs.md_files }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check Broken Links in Entire Repo (Manual)
if: github.event_name == 'workflow_dispatch'
uses: lycheeverse/lychee-action@v2.4.1
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
'**/*.md'
output: lychee/out.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45 changes: 45 additions & 0 deletions .github/workflows/check-broken-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Daily Broken Link Check

on:
schedule:
- cron: '0 2 * * *' # Every day at 2:00 AM UTC
workflow_dispatch:

jobs:
lychee:
name: Broken Link Checker
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Lychee link checker
id: lychee
uses: lycheeverse/lychee-action@v2.4.1
with:
args: >
--verbose
--exclude-mail
--no-progress
--exclude ^https?://
'**/*.md'
output: lychee/out.md # ✅ Set output file here, not in args
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Add front-matter for issue
if: failure()
run: |
echo -e "---\ntitle: Broken Links Detected\nlabels: broken-links\n---\n$(cat lychee/out.md)" > lychee/out.md

- name: Create or update GitHub issue
if: failure()
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: lychee/out.md
update_existing: true
search_existing: open

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ By default, this repo comes with one specific set of RAG configurations includin

The accelerator presented here provides several options, for example:
* The ability to ground a model using both data and public web pages
* A backend with support for 'custom' and 'On Your Data' [conversation flows](./docs/conversation_flow_options.md)
* A backend with support for 'custom' and 'On Your Data' [conversation flows](./docs/conversation_flow_options_test.md)
* Advanced prompt engineering capabilities
* An admin site for ingesting/inspecting/configuring your dataset on the fly
* Push or Pull model for data ingestion: See [integrated vectorization](./docs/integrated_vectorization.md) documentation for more details
Expand Down
4 changes: 2 additions & 2 deletions docs/design/adrs/template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [short title of solved problem and solution]

* **Status:** [proposed | rejected | accepted | deprecated | … | superseded by [ADR-0005](0005-example.md)]
<!-- * **Status:** [proposed | rejected | accepted | deprecated | … | superseded by [ADR-0005](0005-example.md)] -->
* **Proposer:** [list everyone involved in the proposal]
* **Date:** [YYYY-MM-DD when the decision was last updated]
* **Technical Story:** [description | ticket/issue URL] <!-- optional -->
Expand Down Expand Up @@ -58,4 +58,4 @@ Chosen option: "[option 1]", because [justification. e.g., only option, which me
## Links <!-- optional -->

* [Link type] [Link to ADR] <!-- example: Refined by [ADR-0005](0005-example.md) -->
* … <!-- numbers of links can vary -->
* … <!-- numbers of links can vary -->
1 change: 1 addition & 0 deletions test-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- example: Refined by [ADR-0005](0005-example.md) -->
Loading