Skip to content

LEGO: Pull request from lego/hb_5733438c-38c5-41ae-9557-a9d9754c4535_20240625104508567 to Localization #68

LEGO: Pull request from lego/hb_5733438c-38c5-41ae-9557-a9d9754c4535_20240625104508567 to Localization

LEGO: Pull request from lego/hb_5733438c-38c5-41ae-9557-a9d9754c4535_20240625104508567 to Localization #68

name: 'LEGO automerge'
on:
pull_request:
types:
- opened
branches:
- Localization
jobs:
worker:
runs-on: ubuntu-latest
permissions:
issues: write
if: github.actor == 'csigs'
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: enhancement
- uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.pulls.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number,
merge_method: 'squash'
})