Skip to content

Post 1.1.0 release updates to main #1096

Post 1.1.0 release updates to main

Post 1.1.0 release updates to main #1096

Workflow file for this run

name: backport pr
on:
pull_request:
types: [closed]
issue_comment:
types: [created]
jobs:
backport:
if: |
(
github.event_name == 'pull_request' &&
github.event.pull_request.merged
) || (
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
startsWith(github.event.comment.body, '/backport')
)
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
token: ${{ secrets.NUNKI_CI_COMMIT_PUSH_PR }}
- name: Create backport PRs
uses: korthout/backport-action@be567af183754f6a5d831ae90f648954763f17f5 # v3.1.0
with:
copy_milestone: true
copy_labels_pattern: '.*'
pull_title: '[${target_branch}] ${pull_title}'
github_token: ${{ secrets.NUNKI_CI_COMMIT_PUSH_PR }}
pull_description: |
Backport of #${pull_number} to `${target_branch}`.
Original description:
---
${pull_description}