This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 162c2784f9 forgejo/workflows: fix backport condition compatibility
162c2784f9 is described below

commit 162c2784f90969ae53c1f4aa36d22ef93945a293
Author:     Timo Rothenpieler <[email protected]>
AuthorDate: Sun Jul 19 18:29:57 2026 +0200
Commit:     Timo Rothenpieler <[email protected]>
CommitDate: Sun Jul 19 18:29:57 2026 +0200

    forgejo/workflows: fix backport condition compatibility
---
 .forgejo/workflows/backports.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.forgejo/workflows/backports.yml b/.forgejo/workflows/backports.yml
index 9a07164cc2..30c4e5a4ca 100644
--- a/.forgejo/workflows/backports.yml
+++ b/.forgejo/workflows/backports.yml
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: MIT
 
-name: Pull Request Backporting
+name: Backport
 
 on:
   pull_request_target:
@@ -10,11 +10,11 @@ on:
 
 jobs:
   backporting:
-    name: Backporting
+    name: PR
     if: >
-      forgejo.event.pull_request.merged && (
-        (forgejo.event.action == 'closed' && 
contains(forgejo.event.pull_request.labels.*.name, 'backport/')) ||
-        (forgejo.event.action == 'labeled' && 
contains(forgejo.event.label.name, 'backport/'))
+      ( vars.BACKPORTS == 'enabled' ) && (
+        forgejo.event.pull_request.merged &&
+        contains(toJSON(forgejo.event.pull_request.labels), 
'backport/release/')
       )
     runs-on: utilities
     steps:

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to