mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
fix(readme): replace broken docs link with relative path (#2639)
* fix(readme): replace broken docs.worldmonitor.app link with relative path The docs.worldmonitor.app domain no longer resolves. Replace with relative path to docs/data-sources.mdx. Fixes #2616 Supersedes #2619 Co-authored-by: fuleinist <fuleinist@gmail.com> * docs(readme): update data sources count from 30+ to 65+ * docs(readme): update data source categories to reflect full coverage * fix(ci): unblock docs-only PRs from required check deadlock Move paths-ignore from workflow triggers to job-level `if:` conditions. When a workflow uses paths-ignore at the trigger level, GitHub never creates the check run, so required checks stay "Waiting" forever. Job-level skips via `if:` report as passed, satisfying branch protection. Also update deploy-gate to treat "skipped" conclusions as passing. --------- Co-authored-by: fuleinist <fuleinist@gmail.com>
This commit is contained in:
17
.github/workflows/deploy-gate.yml
vendored
17
.github/workflows/deploy-gate.yml
vendored
@@ -52,13 +52,16 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$unit" != "success" ] || [ "$typecheck" != "success" ]; then
|
||||
gh api "repos/$REPO/statuses/$SHA" --method POST \
|
||||
--field state="failure" \
|
||||
--field context="gate" \
|
||||
--field description="Required checks did not pass (unit=$unit typecheck=$typecheck)"
|
||||
exit 0
|
||||
fi
|
||||
# Treat "skipped" as passing (docs-only PRs skip code checks)
|
||||
for v in "$unit" "$typecheck"; do
|
||||
if [ "$v" != "success" ] && [ "$v" != "skipped" ]; then
|
||||
gh api "repos/$REPO/statuses/$SHA" --method POST \
|
||||
--field state="failure" \
|
||||
--field context="gate" \
|
||||
--field description="Required checks did not pass (unit=$unit typecheck=$typecheck)"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
gh api "repos/$REPO/statuses/$SHA" --method POST \
|
||||
--field state="success" \
|
||||
|
||||
30
.github/workflows/lint-code.yml
vendored
30
.github/workflows/lint-code.yml
vendored
@@ -2,14 +2,6 @@ name: Lint Code
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- 'docs/**'
|
||||
- 'src-tauri/**'
|
||||
- 'CHANGELOG.md'
|
||||
- 'LICENSE'
|
||||
- '.github/workflows/build-desktop.yml'
|
||||
- '.github/workflows/docker-publish.yml'
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
@@ -17,7 +9,29 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
changes:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: read
|
||||
outputs:
|
||||
code: ${{ steps.diff.outputs.code }}
|
||||
steps:
|
||||
- id: diff
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "push" ]; then
|
||||
echo "code=true" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
fi
|
||||
FILES=$(gh api "repos/${{ github.repository }}/pulls/${{ github.event.number }}/files" \
|
||||
--paginate --jq '.[].filename')
|
||||
CODE=$(echo "$FILES" | grep -vcE '\.md$|^docs/|^src-tauri/|^CHANGELOG\.md$|^LICENSE$|\.github/workflows/(build-desktop|docker-publish)\.yml$' || echo 0)
|
||||
echo "code=$( [ "$CODE" -gt 0 ] && echo true || echo false )" >> "$GITHUB_OUTPUT"
|
||||
|
||||
biome:
|
||||
needs: changes
|
||||
if: needs.changes.outputs.code == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
30
.github/workflows/test.yml
vendored
30
.github/workflows/test.yml
vendored
@@ -2,14 +2,6 @@ name: Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- 'docs/**'
|
||||
- 'src-tauri/**'
|
||||
- 'CHANGELOG.md'
|
||||
- 'LICENSE'
|
||||
- '.github/workflows/build-desktop.yml'
|
||||
- '.github/workflows/docker-publish.yml'
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
@@ -17,7 +9,29 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
changes:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: read
|
||||
outputs:
|
||||
code: ${{ steps.diff.outputs.code }}
|
||||
steps:
|
||||
- id: diff
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "push" ]; then
|
||||
echo "code=true" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
fi
|
||||
FILES=$(gh api "repos/${{ github.repository }}/pulls/${{ github.event.number }}/files" \
|
||||
--paginate --jq '.[].filename')
|
||||
CODE=$(echo "$FILES" | grep -vcE '\.md$|^docs/|^src-tauri/|^CHANGELOG\.md$|^LICENSE$|\.github/workflows/(build-desktop|docker-publish)\.yml$' || echo 0)
|
||||
echo "code=$( [ "$CODE" -gt 0 ] && echo true || echo false )" >> "$GITHUB_OUTPUT"
|
||||
|
||||
unit:
|
||||
needs: changes
|
||||
if: needs.changes.outputs.code == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
31
.github/workflows/typecheck.yml
vendored
31
.github/workflows/typecheck.yml
vendored
@@ -2,14 +2,6 @@ name: Typecheck
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- 'docs/**'
|
||||
- 'src-tauri/**'
|
||||
- 'CHANGELOG.md'
|
||||
- 'LICENSE'
|
||||
- '.github/workflows/build-desktop.yml'
|
||||
- '.github/workflows/docker-publish.yml'
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
@@ -17,9 +9,30 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
changes:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: read
|
||||
outputs:
|
||||
code: ${{ steps.diff.outputs.code }}
|
||||
steps:
|
||||
- id: diff
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "push" ]; then
|
||||
echo "code=true" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
fi
|
||||
FILES=$(gh api "repos/${{ github.repository }}/pulls/${{ github.event.number }}/files" \
|
||||
--paginate --jq '.[].filename')
|
||||
CODE=$(echo "$FILES" | grep -vcE '\.md$|^docs/|^src-tauri/|^CHANGELOG\.md$|^LICENSE$|\.github/workflows/(build-desktop|docker-publish)\.yml$' || echo 0)
|
||||
echo "code=$( [ "$CODE" -gt 0 ] && echo true || echo false )" >> "$GITHUB_OUTPUT"
|
||||
|
||||
typecheck:
|
||||
# No secrets needed — run for all PRs including forks
|
||||
|
||||
needs: changes
|
||||
if: needs.changes.outputs.code == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||
|
||||
@@ -98,7 +98,7 @@ Flight data provided gracefully by [Wingbits](https://wingbits.com?utm_source=wo
|
||||
|
||||
## Data Sources
|
||||
|
||||
WorldMonitor aggregates 30+ external data sources across geopolitics, finance, energy, climate, aviation, and cyber. See the full [data sources catalog](https://docs.worldmonitor.app/data-sources) for providers, feed tiers, and collection methods.
|
||||
WorldMonitor aggregates 65+ external data sources across geopolitics, finance, energy, climate, aviation, cyber, military, infrastructure, and news intelligence. See the full [data sources catalog](./docs/data-sources.mdx) for providers, feed tiers, and collection methods.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user