build(deps): Bump actions/cache from 4.1.1 to 4.1.2 #1263
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 2021 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: sorenlouv/backport-github-action@ad888e978060bc1b2798690dd9d03c4036560947 # v9.5.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 |