Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
embruna authored Aug 30, 2024
1 parent fdb2ec7 commit ab92a8b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/workflows/check-links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Website Contains Broken Links
labels: ''
assignees: ''
---

## Broken Links Detected

Broken Link Checker found broken links on https://andrewwegner.com

[View Results](https://github.com/AWegnerGitHub/awegnergithub.github.io-content/actions/workflows/check-broken-links.yml)

_Use search filter `─BROKEN─` to highlight failures_
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Broken Links Checker
on:
schedule:
- cron: '12 1 * * 5'
workflow_dispatch:
env:
WEBSITE_URL: "https://brunalab.github.io/apps_for_fieldwork/"
ISSUE_TEMPLATE: ".github/workflows/check-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()

0 comments on commit ab92a8b

Please sign in to comment.