Skip to content

Log usage of log scale button #2981

Log usage of log scale button

Log usage of log scale button #2981

Workflow file for this run

name: Backport merged pull request
on:
pull_request_target:
types:
- closed
- labeled
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
jobs:
backport:
name: Backport pull request
runs-on: ubuntu-latest
# Don't run on closed unmerged pull requests
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps:
- uses: actions/checkout@v6
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.SCOUT_TEAM_APP_ID }}
private-key: ${{ secrets.SCOUT_TEAM_APP_PRIVATE_KEY }}
- name: Create backport pull requests
uses: korthout/backport-action@v3
with:
add_author_as_assignee: true
github_token: ${{ steps.generate-token.outputs.token }}