-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 1.03 KB
/
dependabot-auto-merge.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
name: Auto Merge Pull Requests Checks
on:
pull_request:
branches:
- master
pull_request_target:
branches:
- master
jobs:
auto-merge:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Build Web Application
run: ./gradlew :composeApp:wasmJsBrowserDevelopmentExecutableDistribution
- name: Build Desktop Application
run: ./gradlew :composeApp:packageDistributionForCurrentOS
- name: Automatically Merge Dependabot PRs
if: success()
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_LABELS: "dependencies"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "pull-request-title"
MERGE_FILTER_AUTHOR: "dependabot[bot]"