From df48e65fe130cc7ecb97362083295da1dad8944c Mon Sep 17 00:00:00 2001 From: Francesco Gringl-Novy Date: Mon, 13 Apr 2026 15:04:25 +0200 Subject: [PATCH 1/2] chore(ci): Replace pr-labels-action with native GitHub expressions Replace the custom fork `mydea/pr-labels-action@fn/bump-node20` with built-in `github.event.pull_request.labels.*.name` expressions. Both usages already gate on `github.event_name == 'pull_request'`, so the labels context is always available when needed. This removes an external dependency and also eliminates the Node.js 20 deprecation warning this action was causing. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci-metadata.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-metadata.yml b/.github/workflows/ci-metadata.yml index 00271d1fe6b0..6251f4b99f0f 100644 --- a/.github/workflows/ci-metadata.yml +++ b/.github/workflows/ci-metadata.yml @@ -70,10 +70,6 @@ jobs: any_code: - '!**/*.md' - - name: Get PR labels - id: pr-labels - uses: mydea/pr-labels-action@fn/bump-node20 - outputs: commit_label: '${{ env.COMMIT_SHA }}: ${{ env.COMMIT_MESSAGE }}' # Note: These next three have to be checked as strings ('true'/'false')! @@ -86,7 +82,8 @@ jobs: # When merging into master, or from master is_gitflow_sync: ${{ github.head_ref == 'master' || github.ref == 'refs/heads/master' }} has_gitflow_label: - ${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' Gitflow ') }} + ${{ github.event_name == 'pull_request' && contains(toJSON(github.event.pull_request.labels.*.name), + 'Gitflow') }} force_skip_cache: ${{ github.event_name == 'schedule' || (github.event_name == 'pull_request' && - contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ')) }} + contains(toJSON(github.event.pull_request.labels.*.name), 'ci-skip-cache')) }} From e719d333bb258729b395656635cd8cbb8d629cbb Mon Sep 17 00:00:00 2001 From: Francesco Gringl-Novy Date: Tue, 14 Apr 2026 09:46:56 +0200 Subject: [PATCH 2/2] fix linting --- .github/workflows/ci-metadata.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-metadata.yml b/.github/workflows/ci-metadata.yml index 6251f4b99f0f..eed8451abd8a 100644 --- a/.github/workflows/ci-metadata.yml +++ b/.github/workflows/ci-metadata.yml @@ -82,8 +82,8 @@ jobs: # When merging into master, or from master is_gitflow_sync: ${{ github.head_ref == 'master' || github.ref == 'refs/heads/master' }} has_gitflow_label: - ${{ github.event_name == 'pull_request' && contains(toJSON(github.event.pull_request.labels.*.name), - 'Gitflow') }} + ${{ github.event_name == 'pull_request' && contains(toJSON(github.event.pull_request.labels.*.name), 'Gitflow') + }} force_skip_cache: ${{ github.event_name == 'schedule' || (github.event_name == 'pull_request' && contains(toJSON(github.event.pull_request.labels.*.name), 'ci-skip-cache')) }}