Skip to content

Commit 82e73ac

Browse files
nickboldtrhdh-bot
andauthored
chore: lychee files are new in 1.10/main, so check befor copying them (#2066)
Signed-off-by: rhdh-bot service account <[email protected]> Co-authored-by: rhdh-bot service account <[email protected]>
1 parent b8f4d0a commit 82e73ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ jobs:
130130
GITHUB_TOKEN: ${{ secrets.RHDH_BOT_TOKEN }}
131131
run: |
132132
echo "Building PR ${{ github.event.pull_request.number }}"
133-
rsync -az trusted-scripts/* .lycheeignore lychee.toml pr-content/
133+
rsync -az trusted-scripts/* pr-content/
134+
# some files are new in main/1.10, so check if they exist before copying
135+
for f in trusted-scripts/.lycheeignore trusted-scripts/lychee.toml; do
136+
if [[ -f $f ]]; then rsync -az $f pr-content/; fi
137+
done
134138
touch pr-content/.lycheecache
135139
cd pr-content
136140
build/scripts/build-ccutil.sh -b "pr-${{ github.event.number }}"

0 commit comments

Comments
 (0)