CON-1836 Markdown Fix Virtualisation Linux Project #761
Workflow file for this run
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
name: π GA-Misc - Check-Links | |
on: | |
pull_request: | |
paths-ignore: | |
- ".github/**" | |
branches: [master] | |
types: [labeled, opened, reopened, synchronize] | |
jobs: | |
GA-Misc-Check-Links: | |
name: π Run Check Links | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'π€Έ skip-check-links') == false | |
steps: | |
- name: π§ Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: π Get all changed *.md file(s) | |
id: changed-md | |
run: | | |
echo "changed_files=$(git diff --name-only --diff-filter=ACMRT --merge-base origin/master | grep "\.md$" | xargs)" >> "$GITHUB_OUTPUT" | |
- name: π Run Check Links | |
if: steps.changed-md.outputs.changed_files != '' | |
uses: 01-edu/check-links@v0.2 | |
with: | |
filepath: ${{ steps.changed-md.outputs.changed_files }} |