Skip to content

Commit

Permalink
ci: limit to release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jun 6, 2024
1 parent d3e1076 commit 8540c07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
if: |
github.event.issue.pull_request &&
github.event.issue.pull_request.merged_at != null &&
contains(github.event.comment.body, '@aqua-bot backport')
startsWith(github.event.comment.body, '@aqua-bot backport release/') &&
(github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER')
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 8540c07

Please sign in to comment.