mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
Per GitHub's security guidelines, GHAs should be pinned using full length commit SHAs instead of tags. The SHAs are of the commits currently resolved by the versions. Even "trusted" GHAs from GitHub developers are pinned because it's possible their repo rights could be compromised and a malicious GHA published. These core repos are not frequently substantially updated. Submariner-internal GHAs are left pinned at devel because we want automatic updates from Shipyard's shared tooling. 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@9710f0fec812ce0a3b98bef4c9d842fc1f39d976
|
|
with:
|
|
config-file: ".markdownlinkcheck.json"
|
|
|
|
- name: Raise an Issue to report broken links
|
|
if: ${{ failure() }}
|
|
uses: peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326
|
|
with:
|
|
title: Broken link detected by CI
|
|
content-filepath: .github/ISSUE_TEMPLATE/broken-link.md
|
|
labels: automated, broken link
|