Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarull committed Feb 26, 2025
1 parent 8b109f7 commit e964033
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,12 @@ jobs:
working-directory: ncs/nrf
run: |
RE=".. _\`(.*)\`: (.*)"
echo "HELLO"
git diff --unified=0 "${{ github.event.pull_request.base.sha }}..HEAD" -- doc/nrf/links.txt
LINKS=$(git diff --unified=0 "${{ github.event.pull_request.base.sha }}..HEAD" -- doc/nrf/links.txt | \
grep "^+" | \
grep -Ev "^(---|\+\+\+)")
echo $LINKS
while IFS= read -r link; do
if [[ $link =~ $RE ]]; then
Expand Down

0 comments on commit e964033

Please sign in to comment.