This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
Merge branch 'main' of https://github.com/RomanFama592/yt_tools_exten… #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update readme" | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Update README.md folder map | |
uses: RomanFama592/folder_mapping_action@v1 | |
with: | |
template-output: "./docs/README.md.template.md" | |
- name: Confirm changes and push | |
run: | | |
git config user.name bot-update-readme | |
git config user.email bot-update-readme@gmail.com | |
if git diff --quiet; then | |
echo "No hay cambios." | |
else | |
git add README.md | |
git commit -m "[bot] Update README.md changes -> $(git rev-parse --short HEAD)" | |
git push origin $(git branch --show-current) | |
fi |