Skip to content

Merge pull request #976 from Kotlin/csv-no-such-method-fix #135

Merge pull request #976 from Kotlin/csv-no-such-method-fix

Merge pull request #976 from Kotlin/csv-no-such-method-fix #135

name: Auto-commit generated code
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Run Gradle task
run: ./gradlew :core:processKDocsMain korro
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add './core/generated-sources' './dataframe-csv/generated-sources' './docs/StardustDocs/snippets' './docs/StardustDocs/topics'
git diff --staged --quiet || git commit -m "Automated commit of generated code"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}