From 8a536240cb9e8d3e888b7f30cd0cc590ca039221 Mon Sep 17 00:00:00 2001 From: Gerd Date: Wed, 4 Dec 2024 11:32:55 +0100 Subject: [PATCH] fixes --- .github/workflows/github-security-checks.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/github-security-checks.yml b/.github/workflows/github-security-checks.yml index 4c9dd95..c06f494 100644 --- a/.github/workflows/github-security-checks.yml +++ b/.github/workflows/github-security-checks.yml @@ -10,17 +10,6 @@ jobs: - run: echo "🎉 This job was automatically triggered by a ${{ github.event_name }} event." - name: Checkout repo inside CI runner uses: actions/checkout@v4 - - run: | - mkdir scan_results - chmod +x scan_results - - run: touch ./scan_results/test_file.txt - - run: echo "blablabla" > ./scan_results/test_file.txt - - name: Commit changes - uses: EndBug/add-and-commit@v9 - with: - author_name: tester-bot - author_email: tester@anynines.com - message: 'bot test CI message' - name: Bearer-SAST Installation working-directory: ./ci/actions run: | @@ -29,12 +18,19 @@ jobs: - name: Setup results file working-directory: . run: | - mkdir ./scan_results + mkdir scan_results + chmod +x scan_results touch ./scan_results/bearer.out.json - name: Bearer Scan working-directory: . run: bearer scan . --scanner=sast --quiet --format json --output ./scan_results/bearer.out.json - run: echo "Job finished with status ${{ job.status }}." + - name: Commit changes + uses: EndBug/add-and-commit@v9 + with: + author_name: tester-bot + author_email: tester@anynines.com + message: 'bot test CI message' #TODO