Skip to content

Merge branch 'dev' of https://github.com/CodeShellDev/mailauth into dev #7

Merge branch 'dev' of https://github.com/CodeShellDev/mailauth into dev

Merge branch 'dev' of https://github.com/CodeShellDev/mailauth into dev #7

Workflow file for this run

name: Update README
on:
push:
paths:
- "docker-compose.yaml"
- ".github/templates/README.template.md"
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Replace File Placeholders in README
run: |
bash .github/helper-scripts/replace_placeholders.sh .github/templates/README.template.md README.md
- name: Commit & Push README.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "Update README.md"
git push
fi