The 500 AI Agents Projects is a curated collection of AI agent use cases across various industries. It showcases practical applications and provides links to open-source projects for implementation, illustrating how AI agents are transforming sectors such as healthcare, finance, education, retail, and more.
ci: make required link and markdown checks report on every PR
ashishpatel2616cc2ada5a35
diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.ymlindex dd358eb..32b8da8 100644--- a/.github/workflows/link-checker.yml+++ b/.github/workflows/link-checker.yml@@ -7,9 +7,9 @@ on:branches: [main]paths:- 'README.md'+ # No path filter: the check is required on main, so it must report on every PR.+ # The job skips the slow link scan when README.md is untouched (see the changes step).pull_request:- paths:- - 'README.md'workflow_dispatch:permissions:@@ -21,8 +21,24 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4+ with:+ fetch-depth: 0++ - name: Detect README changes+ id: changes+ env:+ EVENT: ${{ github.event_name }}+ BASE_SHA: ${{ github.event.pull_request.base.sha }}+ run: |+ if [ "$EVENT" = "pull_request" ] && ! git diff --name-only "$BASE_SHA" HEAD | grep -qx 'README.md'; then+ echo "README.md unchanged, skipping link scan."+ echo "run=false" >> "$GITHUB_OUTPUT"+ else+ echo "run=true" >> "$GITHUB_OUTPUT"+ fi- name: Check links in README+ if: steps.changes.outputs.run == 'true'uses: lycheeverse/lychee-action@v1with:args: |diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.ymlindex 102517d..b412bc8 100644--- a/.github/workflows/markdown-lint.yml+++ b/.github/workflows/markdown-lint.yml@@ -6,10 +6,8 @@ on:paths:- '**.md'- '.markdownlint-cli2.jsonc'+ # No path filter: required check must report on every PR; lint is skipped when no markdown changed.pull_request:- paths:- - '**.md'- - '.markdownlint-cli2.jsonc'workflow_dispatch:permissions:@@ -20,8 +18,24 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4+ with:+ fetch-depth: 0++ - name: Detect markdown changes+ id: changes+ env:+ EVENT: ${{ github.event_name }}+ BASE_SHA: ${{ github.event.pull_request.base.sha }}+ run: |+ if [ "$EVENT" = "pull_request" ] && ! git diff --name-only "$BASE_SHA" HEAD | grep -qE '[.]md$|^[.]markdownlint-cli2[.]jsonc$'; then+ echo "No markdown changes, skipping lint."+ echo "run=false" >> "$GITHUB_OUTPUT"+ else+ echo "run=true" >> "$GITHUB_OUTPUT"+ fi- name: Lint markdown+ if: steps.changes.outputs.run == 'true'uses: DavidAnson/markdownlint-cli2-action@v20with:globs: ''