Skip to content

Commit

Permalink
Added Json report Env
Browse files Browse the repository at this point in the history
  • Loading branch information
nambi21 authored Jan 8, 2025
1 parent 5086a46 commit f72c598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: echo "REPORT_DATE=$(date +'%d-%b-%Y')" >> $GITHUB_ENV

- name: Define JSON Report Path
run: echo "JSON_REPORT_PATH=${{ github.workspace }}/bandit_report.json" >> $GITHUB_ENV
run: echo "JSON_REPORT_PATH=${{ github.workspace }}/bandit_report_${{ env.REPORT_DATE }}.json" >> $GITHUB_ENV

- name: Perform Bandit Analysis
uses: PyCQA/bandit-action@v1
Expand Down

0 comments on commit f72c598

Please sign in to comment.