feat: containerd configuration for mirror registry #498
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 D2iQ, Inc. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
- closed | |
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 |