Skip to content

[ML] Truncate oversized field values to prevent autodetect process crash #249

[ML] Truncate oversized field values to prevent autodetect process crash

[ML] Truncate oversized field values to prevent autodetect process crash #249

Workflow file for this run

name: Backport
on:
pull_request_target:
types: ["labeled", "closed"]
permissions:
contents: write
pull-requests: write
jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
# Run when a merged PR is closed or labeled, but skip PRs that are
# themselves backports (identified by the 'backport' label) to avoid loops.
if: |
github.event.pull_request.merged == true &&
!(contains(github.event.pull_request.labels.*.name, 'backport'))
steps:
- name: Backport Action
uses: sorenlouv/backport-github-action@v10.2.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log
- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log