From 621a6ae3d087a9a1b66d8e3ff77b648f0dbd10b0 Mon Sep 17 00:00:00 2001 From: nopeitsnothing Date: Tue, 5 Aug 2025 03:59:10 -0400 Subject: [PATCH] chore(pre-commit): upgrade pre-commit hooks --- .github/workflows/check-broken-links.yml | 26 ------------------------ .github/workflows/publish.yml | 2 +- .pre-commit-config.yaml | 2 +- 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/check-broken-links.yml diff --git a/.github/workflows/check-broken-links.yml b/.github/workflows/check-broken-links.yml deleted file mode 100644 index edbf460..0000000 --- a/.github/workflows/check-broken-links.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Broken Links Checker -on: - schedule: - - cron: '12 1 * * 5' - workflow_dispatch: -env: - WEBSITE_URL: "https://anonymousplanet.org/" - ISSUE_TEMPLATE: ".github/workflows/check-broken-links.md" - -jobs: - check: - runs-on: ubuntu-latest - - steps: - - name: Run Broken Links Checker - run: npx broken-link-checker $WEBSITE_URL --ordered --recursive --user-agent "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0" --exclude linkedin --exclude "udemy" --exclude "ude.my" --exclude "eia.gov" --exclude "backpack.tf" --exclude hlsw --exclude dell --exclude supermicro --exclude mysql - - - uses: actions/checkout@v3 - if: failure() - - - uses: JasonEtco/create-an-issue@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - filename: ${{ env.ISSUE_TEMPLATE }} - if: failure() diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9eeb38f..b63db95 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish docs via GitHub Pages +name: 🚀 Publish docs via GitHub Pages on: push: branches: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58b2a16..3f672f1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-merge-conflict