From 0b77b6943ea943da96f0bb83af3556d0f6cfe342 Mon Sep 17 00:00:00 2001 From: Sahib Yar Date: Sat, 1 Jul 2023 23:27:56 +0500 Subject: [PATCH] #2364 fix, pushing to try changes in private repo --- .github/actions/go-test-setup/action.yml | 2 +- .../actions/markdown-link-check/action.yml | 20 +++++++++++++++++++ .github/workflows/markdown-links-config.json | 7 +++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/actions/markdown-link-check/action.yml create mode 100644 .github/workflows/markdown-links-config.json diff --git a/.github/actions/go-test-setup/action.yml b/.github/actions/go-test-setup/action.yml index c7e4d11ac5..6980722bb2 100644 --- a/.github/actions/go-test-setup/action.yml +++ b/.github/actions/go-test-setup/action.yml @@ -1,7 +1,7 @@ runs: using: "composite" steps: - - name: increase the UDP receive buffer size # see https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size + - name: increase the UDP receive buffer size # see https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes shell: bash run: sysctl -w net.core.rmem_max=2500000 if: ${{ matrix.os == 'ubuntu' }} diff --git a/.github/actions/markdown-link-check/action.yml b/.github/actions/markdown-link-check/action.yml new file mode 100644 index 0000000000..ce1a7b427b --- /dev/null +++ b/.github/actions/markdown-link-check/action.yml @@ -0,0 +1,20 @@ +name: Markdown Links Check + +on: + push: [master] + pull_request: [master] + schedule: + # runs once in a couple of days at 9am + - cron: '0 9 */2 * *' + +jobs: + check-links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'yes' + # for removing any false positives + config-file: .github/workflows/markdown-links-config.json diff --git a/.github/workflows/markdown-links-config.json b/.github/workflows/markdown-links-config.json new file mode 100644 index 0000000000..e79c8d124d --- /dev/null +++ b/.github/workflows/markdown-links-config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "^https://github.com/libp2p/go-libp2p/issues/" + } + ] +} \ No newline at end of file