diff --git a/.gitea/workflows/azure-pipelines.yml b/.gitea/workflows/azure-pipelines.yml index d824cdb..f6061db 100644 --- a/.gitea/workflows/azure-pipelines.yml +++ b/.gitea/workflows/azure-pipelines.yml @@ -42,12 +42,17 @@ jobs: "${HOME}/bin/trivy" --version # Use "${HOME}/bin/trivy" — act/Gitea may not prepend GITHUB_PATH before the next step. + # Gitea only orchestrates the job; checkout + report.json live on the runner machine (this server), not on the Gitea host. - name: Trivy filesystem scan run: | "${HOME}/bin/trivy" fs -f json -o report.json \ --skip-dirs node_modules,android/.gradle,android/build,ios/Pods,ios/build,.git \ --exit-code 0 \ . + report_path="${GITHUB_WORKSPACE:-$(pwd)}/report.json" + echo "Runner host: $(hostname)" + echo "report.json (on this runner, under job workspace): ${report_path}" + ls -la report.json # - name: Upload Trivy report # uses: actions/upload-artifact@v3 diff --git a/App.js b/App.js index 3598d78..8ef084a 100644 --- a/App.js +++ b/App.js @@ -11,4 +11,5 @@ console.log("test9") console.log("test10") console.log("test11") console.log("test12") -console.log("test13") \ No newline at end of file +console.log("test13") +console.log("test14") \ No newline at end of file