Skip to content

Commit 9e24ad8

Browse files
committed
CI: Improve PR HTML generator
- Also clear hidden files and folders from the PR checkout. This improves security by avoiding unintentional remaining files. - Run upload-test-result directly after test-pr and don't wait for comment-pr. There is no dependency on the comment job.
1 parent ed0da37 commit 9e24ad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/prhtmlgenerator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Build docker image - PR
4444
run: docker build -t rss-bridge-pr .
4545
- name: Clear workspace
46-
run: rm -r *
46+
run: rm -r * .*
4747
- name: Checkout - Current
4848
uses: actions/checkout@v5
4949
- name: Build docker image - Current
@@ -121,7 +121,7 @@ jobs:
121121
upload-test-results:
122122
name: Upload to GitHub Pages repository
123123
runs-on: ubuntu-latest
124-
needs: comment-pr
124+
needs: test-pr
125125
if: needs.checks.outputs.WITH_UPLOAD == 'true'
126126
steps:
127127
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)