1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

[CI skip] Updated auto-squash workflow

This commit is contained in:
TheBusyBiscuit 2022-03-10 20:40:47 +01:00 committed by GitHub
parent f8db96532f
commit 9387f28446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,9 @@ on:
status: {}
jobs:
autosquash:
autosquash-crowdin:
name: Auto squash
name: Auto squash (Crowdin)
runs-on: ubuntu-latest
## Only run this on the main repo
@ -31,3 +31,23 @@ jobs:
MERGE_DELETE_BRANCH: true
MERGE_LABELS: '📄 Translations Update'
MERGE_COMMIT_MESSAGE: '[CI skip] New locale updates from Crowdin'
autosquash-renovate:
name: Auto squash (Renovate)
runs-on: ubuntu-latest
## Only run this on the main repo
if: github.event.pull_request.head.repo.full_name == 'Slimefun/Slimefun4'
steps:
- name: Auto squash
uses: pascalgn/automerge-action@v0.14.3
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
UPDATE_RETRIES: 0
MERGE_METHOD: squash
MERGE_FORKS: false
MERGE_DELETE_BRANCH: true
MERGE_LABELS: '🚨 Dependency Update'
MERGE_COMMIT_MESSAGE: '[CI skip] ${{ github.event.pull_request.title }}'