diff --git a/.github/workflows/markdown_link_checker.yml b/.github/workflows/markdown_link_checker.yml new file mode 100644 index 000000000000..ea49746df747 --- /dev/null +++ b/.github/workflows/markdown_link_checker.yml @@ -0,0 +1,20 @@ +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 $changedFiles; do + echo "Processing file: $file" + done \ No newline at end of file