Skip to content

Commit

Permalink
github/ci: Dont trigger command workflow for bots (#27272)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored May 10, 2023
1 parent cb78097 commit 0642d62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ on:

jobs:
retest:
if: github.repository == 'envoyproxy/envoy'
if: |
${{
github.event.issue.pull_request
&& github.repository == 'envoyproxy/envoy'
&& github.actor != 'repokitteh-read-only[bot]'
&& github.actor != 'dependabot[bot]'
}}
name: Retest
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0642d62

Please sign in to comment.