Skip to content

Add jpa/Entity LifeCycle #167

Add jpa/Entity LifeCycle

Add jpa/Entity LifeCycle #167

name: Run Readme Manager
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: run readme manager
run: python readme-manager.py
- name: check if there are any changes
id: verify_diff
run: |
git diff --quiet ./README.md || echo "changed=true" >> $GITHUB_OUTPUT
- name: commit and push readme
if: steps.verify_diff.outputs.changed == 'true'
run: |
git config --global user.email "hihyun16@gmail.com"
git config --global user.name "hyh1016"
git add README.md
git commit -am "Update README.md"
git push