Skip to content

Fix GitLab commit email URL in .gitconfig-gitlab #7

Fix GitLab commit email URL in .gitconfig-gitlab

Fix GitLab commit email URL in .gitconfig-gitlab #7

Workflow file for this run

name: Update README with Config Files
on:
push:
paths:
- '.gitconfig.example'
- '.gitconfig-github'
- '.gitconfig-gitlab'
- '.github/workflows/update-readme.yml'
- 'scripts/update-readme.py'
jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Update README with config file contents
run: python3 scripts/update-readme.py
- name: Commit changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
git diff --quiet && git diff --staged --quiet || (git commit -m "docs: update README with config file contents" && git push)