-
Notifications
You must be signed in to change notification settings - Fork 66.8k
37 lines (37 loc) · 959 Bytes
/
autosquash.yml
File metadata and controls
37 lines (37 loc) · 959 Bytes
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
name: autosquash
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'autosquash')
steps:
- name: autosquash
uses: "pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a"
env:
GITHUB_TOKEN: "${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}"
MERGE_LABELS: "autosquash"
MERGE_REMOVE_LABELS: ""
MERGE_COMMIT_MESSAGE: "pull-request-title"
MERGE_METHOD: "squash"
MERGE_FORKS: "true"
MERGE_RETRIES: "50"
MERGE_RETRY_SLEEP: "10000"
UPDATE_LABELS: "automerge"
UPDATE_METHOD: "merge"