LEGO: Pull request from JUNO/hb_d40a9464-5533-4bb6-bb4d-a39a3f1c4f0e_20240823085159257 to Localization #253
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/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' | |
}) |