Skip to content

SCALRCORE-33146 > Add autoapprove #19

SCALRCORE-33146 > Add autoapprove

SCALRCORE-33146 > Add autoapprove #19

Workflow file for this run

name: 'Backport Fixes'
on:
pull_request:
types:
- opened
- ready_for_review
- reopened
- synchronize
- labeled
- unlabeled
branches:
- 'release/*'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
backport:
name: Backport
runs-on: ubuntu-latest
steps:
- name: Sudo GitHub Token
id: sudo_github_token
uses: tibdex/[email protected]
with:
app_id: ${{vars.SUDO_GHA_APP_ID}}
installation_id: ${{vars.SUDO_GHA_APP_INSTALLATION_ID}}
private_key: ${{secrets.SUDO_GHA_APP_PRIVATE_KEY}}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
filter: blob:none
show-progress: false
- uses: actions/checkout@v4
with:
ref: master
path: .actions
token: ${{steps.sudo_github_token.outputs.token}}
- name: Backport
uses: ./.actions/2-pr-backport
with:
approval_bot_token: ${{secrets.SCALR_BUILDBOT_TOKEN}}
token: ${{steps.sudo_github_token.outputs.token}}
branches_ordering_rule: >-
release/*.*.*
master
base_branch: ${{github.event.pull_request.base.ref}}
head_branch: ${{github.event.pull_request.head.ref}}