From d7122acaa9a1c1839b1cdc4610ace4a4f9c045c5 Mon Sep 17 00:00:00 2001 From: jackdawm <123431751+jackdawm@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:28:24 -0400 Subject: [PATCH] Update semgrep.yml (#7) After chatting with Semgrep support, determined that the reason this action hangs for github actions that check the results of `terraform fmt` into a PR is because it should be excluded anyway. --- .github/workflows/semgrep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 0d48dcc..03e084e 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -24,7 +24,7 @@ jobs: credentials: username: ${{ github.actor }} password: ${{ secrets.github_token }} - if: github.actor != 'dependabot[bot]' && github.event_name != 'merge_group' + if: github.actor != 'dependabot[bot]' && github.actor != 'github-actions' && github.event_name != 'merge_group' steps: - uses: actions/checkout@v4 - name: Run semgrep ci