Skip to content

Commit d7122ac

Browse files
authored
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.
1 parent b6d6e78 commit d7122ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/semgrep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
credentials:
2525
username: ${{ github.actor }}
2626
password: ${{ secrets.github_token }}
27-
if: github.actor != 'dependabot[bot]' && github.event_name != 'merge_group'
27+
if: github.actor != 'dependabot[bot]' && github.actor != 'github-actions' && github.event_name != 'merge_group'
2828
steps:
2929
- uses: actions/checkout@v4
3030
- name: Run semgrep ci

0 commit comments

Comments
 (0)