[ML] Truncate oversized field values to prevent autodetect process crash #249
Workflow file for this run
This file contains hidden or 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
| 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 |