Skip to content

Update Release_Build_Push.yml #27

Update Release_Build_Push.yml

Update Release_Build_Push.yml #27

name: Update README with Commit
on:
push:
branches:
- version-0.25.0-1.26.6
- 1.30.1_v1.13.1
- v1.8.5-1.28.4
paths-ignore:
- "*.md"
pull_request:
types:
- "closed"
paths-ignore:
- "*.md"
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update README
run: |
echo -e "\n\n" >> README.md
git log -1 --pretty=format:"$(git rev-parse HEAD) | %an | %s | %ad " --date=short >> README.md
- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Updating README with brief commit details"
git push