-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eee4085
commit 8141d21
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Broken Link Checker | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "00 18 * * *" | ||
jobs: | ||
linkChecker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Check Links | ||
uses: lycheeverse/lychee-action@v1.8.0 | ||
with: | ||
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --exclude-mail | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: Create Issue From File | ||
uses: peter-evans/create-issue-from-file@v4.0.1 | ||
with: | ||
title: Link Checker Report | ||
content-filepath: ./lychee/out.md | ||
labels: Broken Link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: Pre-commit | ||
on: pull_request | ||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pre-commit/action@v3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.2.0 | ||
hooks: | ||
- id: no-commit-to-branch | ||
name: Ensure commits are only made to feature branches | ||
args: ['-b', 'main'] | ||
- id: end-of-file-fixer | ||
name: Ensure files have end of file | ||
- id: trailing-whitespace | ||
name: Trims extra whitespaces | ||
- id: check-toml | ||
name: Checks TOML files | ||
- repo: https://github.com/google/yamlfmt | ||
rev: v0.10.0 | ||
hooks: | ||
- id: yamlfmt | ||
name: Yaml Formatting | ||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.26.3 | ||
hooks: | ||
- id: check-github-actions | ||
name: GitHub actions check | ||
- id: check-dependabot | ||
name: GitHub Workflows | ||
- id: check-dependabot | ||
name: Dependabot |