Merge pull request '[v7.0/forgejo] [CI] allow backports to be launched on merged pull requests' (#2904) from bp-v7.0/forgejo-d8ab364 into v7.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2904 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
ce5f1b942f
1 changed files with 2 additions and 11 deletions
|
@ -33,17 +33,8 @@ jobs:
|
||||||
if: >
|
if: >
|
||||||
!startsWith(vars.ROLE, 'forgejo-') && (
|
!startsWith(vars.ROLE, 'forgejo-') && (
|
||||||
github.event.pull_request.merged
|
github.event.pull_request.merged
|
||||||
&& (
|
&&
|
||||||
(
|
contains(toJSON(github.event.pull_request.labels), 'backport/v')
|
||||||
github.event.action == 'closed' &&
|
|
||||||
contains(toJSON(github.event.pull_request.labels), 'backport/v')
|
|
||||||
)
|
|
||||||
||
|
|
||||||
(
|
|
||||||
github.event.action == 'labeled' &&
|
|
||||||
contains(github.event.label.name, 'backport/v')
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
|
|
Loading…
Reference in a new issue