Skip to content

Commit

Permalink
Update semgrep.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jackdawm authored Apr 12, 2024
1 parent b6d6e78 commit dbc2b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbc2b17

Please sign in to comment.