From 70b1f76a71292494a3eddf630b08bdc482937cb0 Mon Sep 17 00:00:00 2001 From: "mia von steinkirch, phd" <1130416+mvonsteinkirch@users.noreply.github.com> Date: Fri, 23 Dec 2022 18:36:33 -0800 Subject: [PATCH] Create validate_urls.yml --- .github/workflows/validate_urls.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/validate_urls.yml diff --git a/.github/workflows/validate_urls.yml b/.github/workflows/validate_urls.yml new file mode 100644 index 0000000..3ecbe87 --- /dev/null +++ b/.github/workflows/validate_urls.yml @@ -0,0 +1,32 @@ + +name: validate links + +on: [push, pull_request] + +concurrency: + group: ${{github.workflow}}-${{github.ref}} + cancel-in-progress: true + +jobs: + unit: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + + steps: + - name: checkout + uses: actions/checkout@v3 + + - name: set up ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.1 + bundler-cache: true + + - name: install awesome_bot + run: gem install awesome_bot + + - name: validate URLs + run: awesome_bot README.md --allow-redirect --request-delay 0.4