Skip to content

Introduce BambdaChecker and workflows #1

Introduce BambdaChecker and workflows

Introduce BambdaChecker and workflows #1

name: Run Bambda Checker on Merge
on:
pull_request:
types:
- closed
branches:
- main
jobs:
update_readmes:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'oracle'
- name: Validate Bambdas & update READMEs
run: |
[ $(sha256sum BambdaChecker.jar | awk '{ print $1 }') = '80a0af46f3b9b053c9624c6cc5f2be08fdcdc759064d177f3acd55ff98b85fb9' ]
java -jar BambdaChecker.jar
git add .
git commit -m "Update README.md files" || true
git push || true