1
0
mirror of synced 2025-12-19 18:14:56 -05:00

remove doc-link-checker workflow (#37699)

This commit is contained in:
Ella Rohm-Ensing
2024-05-01 09:58:53 -05:00
committed by GitHub
parent 960b5c9f62
commit 2e3b51fdf9
3 changed files with 0 additions and 110 deletions

View File

@@ -1,59 +0,0 @@
{
"ignorePatterns": [
{
"pattern": "localhost"
},
{
"pattern": "file://"
},
{
"pattern": "slack.airbyte.io"
},
{
"reason": "Return 429 frequently",
"pattern": "https://github.com/airbytehq/airbyte"
},
{
"reason": "Private page without public access",
"pattern": "https://github.com/airbytehq/airbyte/settings"
},
{
"reason": "Page too large and very slow",
"pattern": "https://docs.github.com/en/rest/reference/repos"
},
{
"reason": "Links with bash variable",
"pattern": "\\$"
},
{
"reason": "Links in HBS templates",
"pattern": "\\{"
},
{
"reason": "Test only scaffold connector",
"pattern": "sources/scaffold-"
},
{
"reason": "Test only scaffold connector",
"pattern": "sources/python-"
},
{
"reason": "Test only scaffold connector",
"pattern": "sources/javascript-"
},
{
"reason": "Test only scaffold connector",
"pattern": "destinations/scaffold-"
},
{
"reason": "Returns a 403 for many valid pages",
"pattern": "https://mvnrepository.com/artifact/"
},
{
"reason": "Archived articles aren't actively maintained.",
"pattern": "archive/"
}
],
"retryOn429": false,
"aliveStatusCodes": [200, 206, 429, 503, 0]
}

View File

@@ -1,49 +0,0 @@
# Perform link check on all markdown files
# https://github.com/gaurav-nelson/github-action-markdown-link-check
name: Check for broken links in docs
on:
workflow_dispatch:
schedule:
- cron: "0 18 * * *"
jobs:
markdown-link-check:
timeout-minutes: 50
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# check all files on master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
check-modified-files-only: "no"
config-file: .github/workflows/doc-link-check.json
# posts to #_doc_link_checker
- name: Publish Success to Slack
if: success()
uses: abinoda/slack-action@master
env:
SLACK_BOT_TOKEN: ${{ secrets.DOC_LINK_CHECKER_BOT_TOKEN }}
with:
args: >-
{\"channel\": \"C02MG7B7MT6\", \"blocks\":[
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"Succeeded! :white_check_mark:\n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\":octavia-rocket: <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|View Action Run> :octavia-rocket:\"}},
{\"type\":\"divider\"}]}
# posts to #_doc_link_checker
- name: Publish Failure to Slack
if: failure()
uses: abinoda/slack-action@master
env:
SLACK_BOT_TOKEN: ${{ secrets.DOC_LINK_CHECKER_BOT_TOKEN }}
with:
args: >-
{\"channel\": \"C02MG7B7MT6\", \"blocks\":[
{\"type\":\"divider\"},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"Failed! :bangbang:\n\"}},
{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\":octavia-rocket: <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}|View Action Run> :octavia-rocket:\"}},
{\"type\":\"divider\"}]}

View File

@@ -55,8 +55,6 @@ periodically:
- Running the build process will **check for broken links**, please read the output and address any
broken links that you are able to do.
- [This GitHub Action](https://github.com/airbytehq/airbyte/blob/master/.github/workflows/doc-link-check.yml)
checks all links on Airbyte production docs site, and tells us if any of them are broken.
> [!NOTE] Docusaurus links checker only checks _relative_ links, and assumes that absolute links are
> fine. For that reason, if you're linking to another Airbyte documentation page, make it a relative