mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
Bumps the version of markdown-link-check from 3.8.7 to 3.9.3. Changes base image from node:alpine to node:lts-alpine. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
29 lines
878 B
YAML
29 lines
878 B
YAML
---
|
|
name: Periodic
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * 0"
|
|
|
|
jobs:
|
|
markdown-link-check-periodic:
|
|
name: Markdown Links (all files)
|
|
if: github.repository_owner == 'submariner-io'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out the repository
|
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
|
|
|
- name: Run markdown-link-check
|
|
uses: gaurav-nelson/github-action-markdown-link-check@58f84fd654812d0d8da4e4d4a559eda087daf8ce
|
|
with:
|
|
config-file: ".markdownlinkcheck.json"
|
|
|
|
- name: Raise an Issue to report broken links
|
|
if: ${{ failure() }}
|
|
uses: peter-evans/create-issue-from-file@97e6f902a416aac38834e23fa52e166aad0437d2
|
|
with:
|
|
title: Broken link detected by CI
|
|
content-filepath: .github/ISSUE_TEMPLATE/broken-link.md
|
|
labels: automated, broken link
|