Skip to content

feature/auto-deploy #16

feature/auto-deploy

feature/auto-deploy #16

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@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
cache: 'gradle'
- 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]"