Skip to content

Merge pull request #1831 from robstoll/chore/matrix_commons #804

Merge pull request #1831 from robstoll/chore/matrix_commons

Merge pull request #1831 from robstoll/chore/matrix_commons #804

name: Generate README examples
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Set up JDK 11"
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v3.5.0
- name: Generate readme
run: ./gradlew :readme-examples:build
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: re-generate-README
title: Re-Generate README examples
commit-message: generate README examples
body: Looks like someone forgot to run gr build or did not commit the changes
delete-branch: true