mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
25 lines
596 B
YAML
25 lines
596 B
YAML
name: Automatic backport/sync action
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: ["labeled", "closed"]
|
|
|
|
jobs:
|
|
backport:
|
|
name: Backport/sync PR
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Backport Action
|
|
uses: sorenlouv/backport-github-action@v9.3.0
|
|
with:
|
|
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }}
|
|
auto_backport_label_prefix: sync-
|
|
|
|
- name: Info log
|
|
if: ${{ success() }}
|
|
run: cat ~/.backport/backport.info.log
|
|
|
|
- name: Debug log
|
|
if: ${{ failure() }}
|
|
run: cat ~/.backport/backport.debug.log
|