Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

test: move all patch generator unit tests to their own packages #27

test: move all patch generator unit tests to their own packages

test: move all patch generator unit tests to their own packages #27

Workflow file for this run

# Copyright 2023 D2iQ, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
on:
pull_request_target:
types:
- labeled
- closed
defaults:
run:
shell: bash
jobs:
backport:
name: Backport PR
runs-on: ubuntu-22.04
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'auto-backport')
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport')
|| (github.event.action == 'closed')
)
steps:
- name: Backport Action
uses: sqren/backport-github-action@v9.3.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
auto_backport_label_prefix: backport-to-
- name: Backport log
if: always()
run: cat /home/runner/.backport/backport.log