Skip to content

Commit

Permalink
Avoid running semgrep on merge groups (#4)
Browse files Browse the repository at this point in the history
Semgrep is taking an awful amount of time when running in merge queues, this is disabling it for those cases while keeping the workflow running to fit the requirement.
  • Loading branch information
XaF committed Jan 11, 2024
1 parent 2fed764 commit b8fe73e
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]')
if: github.actor != 'dependabot[bot]' && github.event_name != 'merge_group'
steps:
- uses: actions/checkout@v4
- name: Run semgrep ci
Expand Down

0 comments on commit b8fe73e

Please # to comment.