From c3c431cd678f10ca422d168dfdf19dddae5d69c1 Mon Sep 17 00:00:00 2001 From: Awei <62026905+Awei2020@users.noreply.github.com> Date: Tue, 18 Jul 2023 10:54:18 +0800 Subject: [PATCH] Update action.yml --- action.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/action.yml b/action.yml index 79c5559..b4e057f 100644 --- a/action.yml +++ b/action.yml @@ -12,13 +12,3 @@ runs: wget https://s.murphysec.com/github_actions_format.py python3 github_actions_format.py shell: bash - - run: | - if [ -f "results.sarif" ]; then - echo "file_exists=true" >> $GITHUB_ENV - else - echo "file_exists=false" >> $GITHUB_ENV - fi - if: env.file_exists == 'true' - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: results.sarif