From 7297b30a460eedd82930b606fe3e02ae8380f672 Mon Sep 17 00:00:00 2001 From: joshvanl Date: Fri, 9 Oct 2026 11:43:12 +0100 Subject: [PATCH 1/2] Run tests on release branches Signed-off-by: joshvanl --- .github/workflows/pr-validation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 5cf2c01..25e3112 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -2,12 +2,12 @@ name: PR Validation # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "main" branch + # Triggers the workflow on push or pull request events for the "main" and release branches push: - branches: [ "main" ] + branches: [ "main", "release-*" ] paths-ignore: [ '**.md' ] pull_request: - branches: [ "main" ] + branches: [ "main", "release-*" ] paths-ignore: [ '**.md' ] # Allows you to run this workflow manually from the Actions tab From eaf2feb8313a89952e85024c7a96115b814a9567 Mon Sep 17 00:00:00 2001 From: joshvanl Date: Fri, 9 Oct 2026 11:46:13 +0100 Subject: [PATCH 2/2] Adds backport labeling Signed-off-by: joshvanl --- .github/workflows/backport.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/backport.yaml diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml new file mode 100644 index 0000000..92ffffd --- /dev/null +++ b/.github/workflows/backport.yaml @@ -0,0 +1,27 @@ +# +# Copyright 2026 The Dapr Authors +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name: Backport +on: + pull_request_target: + types: + - closed + - labeled + +permissions: {} + +jobs: + backport: + uses: dapr/.github/.github/workflows/backport.yaml@main + secrets: + dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}