feature/auto-deploy #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Merge Pull Requests Checks | |
on: | |
pull_request: | |
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]" |