Skip to content

Commit

Permalink
ci: don't trigger backport loops
Browse files Browse the repository at this point in the history
Prevent the backport action user from triggering on his own /backport commands
  • Loading branch information
remcowesterhoud committed Nov 9, 2023
1 parent 45b6ed5 commit 1d9f302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
) || (
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
github.event.comment.user.id != 97796249 &&
contains(github.event.comment.body, '/backport')
)
steps:
Expand Down

0 comments on commit 1d9f302

Please sign in to comment.