mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2025-12-18 13:59:10 +01:00
chore(pre-commit): upgrade pre-commit hooks
This commit is contained in:
26
.github/workflows/check-broken-links.yml
vendored
26
.github/workflows/check-broken-links.yml
vendored
@@ -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()
|
||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Publish docs via GitHub Pages
|
||||
name: 🚀 Publish docs via GitHub Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user