Skip to content

- chore: following the opentorah release #4341

- chore: following the opentorah release

- chore: following the opentorah release #4341

Workflow file for this run

name: "Branch CI"
on:
push:
branches:
- '*'
- '!master'
jobs:
build:
name: "Build and check in the changes"
runs-on: ubuntu-latest
steps:
- name: "Check out the code"
uses: actions/checkout@master
- name: "Set up Java"
uses: actions/setup-java@master
with:
distribution: 'zulu'
java-version: 11
- name: "Build and pretty-print site"
run: ./gradlew --no-daemon --console=plain buildAndPrettyPrintSite
# Something changed in GitHub Actions recently; for instance, there is now " Post Check out the code";
# github-actions-x/[email protected] started craching; @2.6 does not crash,
# but no changes get pushed ("Your branch is up to date").
# When I added `rebase`, I got: "Please tell me who you are. ... user.email ... user.name ..." -
# looks like defaults do not apply in the `rebase` case, so I set email and name explicitly:
# - name: "Commit and push generated changes"
# if: success()
# uses: github-actions-x/[email protected]
# with:
# commit-message: "Commit and push generated changes"
# github-token: ${{ secrets.GITHUB_TOKEN }}
# rebase: true
# email: "[email protected]"
# name: "GitHub Action"
# this one is from https://github.com/marketplace/actions/git-auto-commit
- name: "Commit and push generated changes"
if: success()
uses: stefanzweifel/[email protected]
with:
commit_message: "Commit and push generated changes"
commit_user_name: "GitHub Action"
commit_user_email: "[email protected]"