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 }} 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