Skip to content

chore(deps-dev): bump the npm-development group across 1 directory with 5 updates #1397

chore(deps-dev): bump the npm-development group across 1 directory with 5 updates

chore(deps-dev): bump the npm-development group across 1 directory with 5 updates #1397

Workflow file for this run

name: Backport

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

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
on:
pull_request_target:
types: ["labeled", "closed"]
permissions:
contents: write
pull-requests: write
jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
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@v12
with:
# A PAT (repo + workflow scope) is required: org policy forbids the
# default GITHUB_TOKEN from creating PRs, and PRs opened with it also
# don't trigger downstream `pull_request` workflows (anti-recursion
# limit), so CI would not run on backport PRs. Configure a repo or
# org secret named AUTOMATION_PAT.
github_token: ${{ secrets.AUTOMATION_PAT }}
auto_backport_label_prefix: auto-backport-to-
copy_source_pr_reviewers: true
- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log
- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log