1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
Slimefun4/.github/workflows/auto-squash.yml

34 lines
692 B
YAML
Raw Normal View History

name: Auto squash Crowdin updates
on:
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
autosquash:
name: Auto squash
runs-on: ubuntu-latest
2021-05-07 12:32:15 +00:00
## Only run this on the main repo
if: github.repository == 'Slimefun/Slimefun4'
steps:
- name: Auto squash
uses: pascalgn/automerge-action@v0.13.1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
UPDATE_RETRIES: 0
MERGE_METHOD: squash
MERGE_FORKS: false
MERGE_DELETE_BRANCH: true
MERGE_LABELS: '📄 Translations Update'
MERGE_COMMIT_MESSAGE: '[CI skip] New locale updates from Crowdin'