change report directory
@@ -17,9 +17,9 @@ jobs:
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2 && \
python3 -m pip install --upgrade pip && \
pip3 install whispers && \
- mkdir /reports/ && \
- whispers --severity BLOCKER,CRITICAL -o /reports/whispers.json ${GITHUB_WORKSPACE} && \
- echo "::set-output name=found-count::$(wc -l /reports/whispers.json | cut -d' ' -f1)"
+ mkdir /home/runner/reports/ && \
+ whispers --severity BLOCKER,CRITICAL -o /home/runner/reports/whispers.json ${GITHUB_WORKSPACE} && \
+ echo "::set-output name=found-count::$(wc -l /home/runner/reports/whispers.json | cut -d' ' -f1)"
- name: Upload scan reports
uses: actions/upload-artifact@v2.3.1
with:
