-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
test workflow for changed files
Signed-off-by: Sudan Landge <[email protected]>
Sudan Landge
committed
Dec 22, 2023
1 parent
2913dac
commit 03c0120
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |