Skip to content

doc(metrics): Make metrics related info easily accessible #13

doc(metrics): Make metrics related info easily accessible

doc(metrics): Make metrics related info easily accessible #13

name: Check links in markdown documentation
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: "print list of markdown files changed"
run: |
git fetch origin
changedFiles=$(git diff origin/$GITHUB_BASE_REF.. --name-only)
for file in $changed_file; do
if [[ ".md" == ".${file##*.}" ]]; then
echo $file;
fi
done