From f4101e71f16fb7133c9dbcfdef34731f0f91944e Mon Sep 17 00:00:00 2001 From: Paulo Phagula Date: Mon, 10 Feb 2025 12:57:36 +0200 Subject: [PATCH] Linting and stuff --- .github/workflows/linkrot.yml | 14 ++++++++++++++ .github/workflows/lint.yml | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/linkrot.yml create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/linkrot.yml b/.github/workflows/linkrot.yml new file mode 100644 index 0000000..b8346c8 --- /dev/null +++ b/.github/workflows/linkrot.yml @@ -0,0 +1,14 @@ +name: Linkrot +on: + schedule: + - cron: '0 13 * * MON' + workflow_dispatch: +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Fix links + uses: tmcw/notfoundbot@v2.3.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..043629d --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,11 @@ +name: Lint Awesome List +on: [push, pull_request] +jobs: + lint: + name: Awesome Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.0.0 + with: + fetch-depth: 0 + - run: npx awesome-lint