-
Notifications
You must be signed in to change notification settings - Fork 549
53 lines (42 loc) · 1.29 KB
/
auto-squash.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Auto squash pull requests
on:
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
autosquash-crowdin:
name: Auto squash (Crowdin)
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/[email protected]
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'
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/[email protected]
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 }}'