Skip to content

fix: clear serial scrollback on exclusive connect, default to always_on=False #1675

fix: clear serial scrollback on exclusive connect, default to always_on=False

fix: clear serial scrollback on exclusive connect, default to always_on=False #1675

Workflow file for this run

# WARNING:

Check warning on line 1 in .github/workflows/backport.yaml

View workflow run for this annotation

GitHub Actions / Backport

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
# When extending this action, be aware that $GITHUB_TOKEN allows write access to
# the GitHub repository. This means that it should not evaluate user input in a
# way that allows code injection.
name: Backport
on:
pull_request_target:
types: [closed, labeled]
permissions: {}
jobs:
backport:
name: Backport Pull Request
if: github.repository_owner == 'jumpstarter-dev' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-24.04
steps:
# Use a GitHub App to create the PR so that CI gets triggered
# The App is scoped to Repository > Contents and Pull Requests: write for jumpstarter-dev
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: app-token
with:
app-id: ${{ secrets.JUMPSTARTER_BACKPORT_BOT_APP_ID }}
private-key: ${{ secrets.JUMPSTARTER_BACKPORT_BOT_PRIVATE_KEY }}
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
token: ${{ steps.app-token.outputs.token }}
allow-unsafe-pr-checkout: true
- name: Create backport PRs
uses: korthout/backport-action@2e830a1d0b8269505846ddd407a70876913ad1f8 # v4.6.0
with:
# Config README: https://github.com/korthout/backport-action#backport-action
github_token: ${{ steps.app-token.outputs.token }}
merge_commits: skip
pull_description: |-
Bot-based backport to `${target_branch}`, triggered by a label in #${pull_number}.