Skip to content

Commit

Permalink
Merge pull request #1 from guibranco/master
Browse files Browse the repository at this point in the history
Create validate-links.yml workflow (GitHub Actions)
  • Loading branch information
rafaelkendrik authored Jul 5, 2024
2 parents aee16d8 + a620131 commit 1a4e52c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/validate-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Validate links

on:
workflow_dispatch:
pull_request: null
schedule:
- cron: 0 0 * * *

jobs:
link-checker:
runs-on: ubuntu-latest
permissions:
issues: write
contents: read
steps:
- uses: actions/checkout@v4

- name: Check links
id: lychee
uses: lycheeverse/lychee-action@v1.8.0

- name: Create issue
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link checker report
labels: 'report, automated-issue'
content-filepath: ./lychee/out.md

0 comments on commit 1a4e52c

Please sign in to comment.