File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - ' .gitconfig-github'
88 - ' .gitconfig-gitlab'
99 - ' .github/workflows/update-readme.yml'
10- - ' scripts/update-readme.py'
1110
1211jobs :
13- update-readme :
12+ code_embedder :
1413 runs-on : ubuntu-latest
1514 permissions :
1615 contents : write
1716 steps :
1817 - uses : actions/checkout@v4
1918
20- - name : Update README with config file contents
21- run : python3 scripts/update-readme.py
22-
23- - name : Commit changes
24- run : |
25- git config user.name "github-actions[bot]"
26- git config user.email "github-actions[bot]@users.noreply.github.com"
27- if ! git diff --quiet HEAD; then
28- git add README.md
29- git commit -m "docs: update README with config file contents"
30- git push
31- fi
19+ - uses : kvankova/code-embedder@v1.1.3
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -24,9 +24,7 @@ You'll need the following configuration files. Replace all `PLACE_HOLDER` values
2424
2525### ` .gitconfig ` (Global Git Configuration)
2626
27- <!-- GITCONFIG_EXAMPLE_START -->
28-
29- ``` ini
27+ ``` ini:.gitconfig.example
3028# ====================================================================
3129# Global Git Configuration
3230#
@@ -57,8 +55,6 @@ You'll need the following configuration files. Replace all `PLACE_HOLDER` values
5755 path = .gitconfig-gitlab
5856```
5957
60- <!-- GITCONFIG_EXAMPLE_END -->
61-
6258### ` .gitconfig-github ` (GitHub-Specific Configuration)
6359
6460<!-- GITCONFIG_GITHUB_START -->
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments