From f5f0a00e029f875cc2c23584955877f4cae13c57 Mon Sep 17 00:00:00 2001 From: KunalOfficial <35455566+developerkunal@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:21:49 +0530 Subject: [PATCH] Changed pull_request_target to pull_request (#284) --- .github/workflows/semgrep.yml | 2 +- .github/workflows/test.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 8a0e90ff..7337f266 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -1,7 +1,7 @@ name: semgrep on: - pull_request_target: {} + pull_request: {} push: branches: [master] diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f86d152e..e58c20fc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,8 +27,9 @@ jobs: run: make test - name: upload coverage to codecov - uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@3.1.5 + uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # pin@4.5.0 with: + token: ${{ secrets.CODECOV_TOKEN }} files: coverage.out fail_ci_if_error: false verbose: true