forked from dynatrace-perfclinics/platform-engineering-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 972 Bytes
/
automerge.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
name: automerge
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
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.16.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "" # Merge all PRs
MERGE_DELETE_BRANCH: "true"
# - id: notifybackstage
# name: notifybackstage
# uses: fjogeleit/http-request-action@v1
# with:
# url: 'https://CODESPACE_NAME_PLACEHOLDER-ARGOCD_PORT_NUMBER_PLACEHOLDER.GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN_PLACEHOLDER/api/webhook'
# method: 'POST'
# customHeaders: '{"Content-Type": "application/json"}'