mirror of
https://github.com/neovim/neovim.git
synced 2026-07-18 23:21:35 +00:00
ci(backport): remove triggering by comment (#18210)
Triggering by comment is not needed. Applying the label is enough to trigger the backport action.
This commit is contained in:
6
.github/workflows/backport.yml
vendored
6
.github/workflows/backport.yml
vendored
@@ -2,8 +2,6 @@ name: Backport
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [closed, labeled]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
jobs:
|
||||
backport:
|
||||
permissions:
|
||||
@@ -14,10 +12,6 @@ jobs:
|
||||
github.repository_owner == 'neovim' && (
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.merged
|
||||
) || (
|
||||
github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
contains(github.event.comment.body, '/backport')
|
||||
)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user