This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/9.0
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/9.0 by this push:
new 16e59dfabf forgejo/workflows: change to targeting 9.0 release branch
16e59dfabf is described below
commit 16e59dfabf92a95a3cc99af38de54644fe995bb0
Author: Timo Rothenpieler <[email protected]>
AuthorDate: Sat Jun 27 00:03:34 2026 +0200
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Sat Jun 27 00:03:34 2026 +0200
forgejo/workflows: change to targeting 9.0 release branch
---
.forgejo/labeler/labeler.js | 74 ----------------------------------------
.forgejo/labeler/labeler.yml | 35 -------------------
.forgejo/workflows/autolabel.yml | 32 -----------------
.forgejo/workflows/lint.yml | 2 +-
.forgejo/workflows/test.yml | 4 +--
5 files changed, 3 insertions(+), 144 deletions(-)
diff --git a/.forgejo/labeler/labeler.js b/.forgejo/labeler/labeler.js
deleted file mode 100644
index 173d98080c..0000000000
--- a/.forgejo/labeler/labeler.js
+++ /dev/null
@@ -1,74 +0,0 @@
-module.exports = async ({github, context}) => {
- const title = (context.payload.pull_request?.title ||
context.payload.issue?.title || '').toLowerCase();
- const labels = [];
- const issueNumber = context.payload.pull_request?.number ||
context.payload.issue?.number;
-
- const kwmap = {
- 'avcodec': 'avcodec',
- 'avdevice': 'avdevice',
- 'avfilter': 'avfilter',
- 'avformat': 'avformat',
- 'avutil': 'avutil',
- 'swresample': 'swresample',
- 'swscale': 'swscale',
- 'fftools': 'CLI',
- 'vulkan': 'vulkan'
- };
-
- async function isOrgMember(username) {
- try {
- const response = await github.rest.orgs.checkMembershipForUser({
- org: context.repo.owner,
- username: username
- });
- return response.status === 204;
- } catch (error) {
- return false;
- }
- }
-
- if (context.payload.action === 'closed' ||
- (context.payload.action !== 'opened' && (
- context.payload.action === 'assigned' ||
- context.payload.action === 'label_updated' ||
- context.payload.action === 'labeled' ||
- context.payload.comment) &&
- await isOrgMember(context.payload.sender.login))
- ) {
- try {
- await github.rest.issues.removeLabel({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: issueNumber,
- // this should say 'new', but forgejo deviates from GitHub API
here and expects the ID
- name: '41'
- });
- console.log('Removed "new" label');
- } catch (error) {
- if (error.status !== 404 && error.status !== 410) {
- console.log('Could not remove "new" label');
- }
- }
- } else if (context.payload.action === 'opened') {
- labels.push('new');
- console.log('Detected label: new');
- }
-
- if ((context.payload.action === 'opened' || context.payload.action ===
'edited') && context.eventName !== 'issue_comment') {
- for (const [kw, label] of Object.entries(kwmap)) {
- if (title.includes(kw)) {
- labels.push(label);
- console.log('Detected label: ' + label);
- }
- }
- }
-
- if (labels.length > 0) {
- await github.rest.issues.addLabels({
- owner: context.repo.owner,
- repo: context.repo.repo,
- issue_number: issueNumber,
- labels: labels,
- });
- }
-}
diff --git a/.forgejo/labeler/labeler.yml b/.forgejo/labeler/labeler.yml
deleted file mode 100644
index 446a675316..0000000000
--- a/.forgejo/labeler/labeler.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-avcodec:
- - changed-files:
- - any-glob-to-any-file: 'libavcodec/**'
-
-avdevice:
- - changed-files:
- - any-glob-to-any-file: 'libavdevice/**'
-
-avfilter:
- - changed-files:
- - any-glob-to-any-file: 'libavfilter/**'
-
-avformat:
- - changed-files:
- - any-glob-to-any-file: 'libavformat/**'
-
-avutil:
- - changed-files:
- - any-glob-to-any-file: 'libavutil/**'
-
-swresample:
- - changed-files:
- - any-glob-to-any-file: 'libswresample/**'
-
-swscale:
- - changed-files:
- - any-glob-to-any-file: 'libswscale/**'
-
-CLI:
- - changed-files:
- - any-glob-to-any-file: 'fftools/**'
-
-vulkan:
- - changed-files:
- - any-glob-to-any-file: '**/*vulkan*'
diff --git a/.forgejo/workflows/autolabel.yml b/.forgejo/workflows/autolabel.yml
deleted file mode 100644
index 0235bdd7d4..0000000000
--- a/.forgejo/workflows/autolabel.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: Autolabel
-
-on:
- pull_request_target:
- types: [opened, edited, synchronize, closed, assigned, labeled, unlabeled]
- issues:
- types: [opened, edited, closed, assigned, labeled, unlabeled]
- issue_comment:
- types: [created]
-
-jobs:
- pr_labeler:
- name: Labeler
- runs-on: utilities
- if: ${{ github.event.sender.login != 'ffmpeg-devel' }}
- steps:
- - name: Checkout
- uses: actions/checkout@v6
- - name: Label by file-changes
- uses: actions/labeler@v6
- if: ${{ forge.event_name == 'pull_request_target' }}
- with:
- configuration-path: .forgejo/labeler/labeler.yml
- repo-token: ${{ secrets.AUTOLABELER_TOKEN }}
- sync-labels: true
- - name: Label by title-match
- uses: actions/github-script@v8
- with:
- script: |
- const script = require('.forgejo/labeler/labeler.js')
- await script({github, context})
- github-token: ${{ secrets.AUTOLABELER_TOKEN }}
diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml
index 32237eecc7..d4c025104e 100644
--- a/.forgejo/workflows/lint.yml
+++ b/.forgejo/workflows/lint.yml
@@ -3,7 +3,7 @@ name: Lint
on:
push:
branches:
- - master
+ - release/9.0
pull_request:
concurrency:
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index 3af1522b88..35e1064712 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -3,7 +3,7 @@ name: Test
on:
push:
branches:
- - master
+ - release/9.0
pull_request:
concurrency:
@@ -77,7 +77,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- image: ['ghcr.io/btbn/ffmpeg-builds/win64-gpl:latest']
+ image: ['ghcr.io/btbn/ffmpeg-builds/win64-gpl-9.0:latest']
target_exec: ['wine']
runs-on: linux-amd64
container: ${{ matrix.image }}
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]