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 e2acef488f forgejo/workflows: add workflow for automatic backport PRs
via labels
e2acef488f is described below
commit e2acef488f20098576cfbcd99c0c256313e913e8
Author: Timo Rothenpieler <[email protected]>
AuthorDate: Wed Jul 15 22:59:11 2026 +0200
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Sun Jul 19 18:10:07 2026 +0200
forgejo/workflows: add workflow for automatic backport PRs via labels
---
.forgejo/workflows/backports.yml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/.forgejo/workflows/backports.yml b/.forgejo/workflows/backports.yml
new file mode 100644
index 0000000000..9a07164cc2
--- /dev/null
+++ b/.forgejo/workflows/backports.yml
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: MIT
+
+name: Pull Request Backporting
+
+on:
+ pull_request_target:
+ types:
+ - closed
+ - labeled
+
+jobs:
+ backporting:
+ name: Backporting
+ 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/'))
+ )
+ runs-on: utilities
+ steps:
+ - uses: actions/git-backporting@main
+ with:
+ target-branch-pattern: "^backport/(?<target>(.+))$"
+ strategy: ort
+ strategy-option: find-renames
+ cherry-pick-options: -x
+ bp-repo: ffmpeg-devel/FFmpeg
+ auth: ${{ secrets.BACKPORT_TOKEN }}
+ pull-request: ${{ forgejo.event.pull_request.url }}
+ auto-no-squash: true
+ enable-err-notification: true
+ git-user: ffmpeg-devel
+ git-email: [email protected]
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]