Skip to content

Commit 3e6b224

Browse files
committed
build: configure Git in publish workflows and update capitalization
1 parent 1a81ff0 commit 3e6b224

10 files changed

+50
-32
lines changed

.github/workflows/scaffold_pkg_via_branch_push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jobs:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8585
added-files: ${{ steps.changed-files.outputs.files }}
8686

87-
# Configure git:
88-
- name: 'Configure git'
87+
# Configure Git:
88+
- name: 'Configure Git'
8989
run: |
9090
git config --local user.email "[email protected]"
9191
git config --local user.name "stdlib-bot"

.github/workflows/standalone_publish.yml

+6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ jobs:
9191
lfs: false
9292
timeout-minutes: 10
9393

94+
# Configure Git:
95+
- name: 'Configure Git'
96+
run: |
97+
git config --local user.email "[email protected]"
98+
git config --local user.name "stdlib-bot"
99+
94100
# Apply Git notes:
95101
- name: 'Apply Git notes'
96102
run: |

.github/workflows/standalone_publish_custom.yml

+6
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ jobs:
9898
lfs: false
9999
timeout-minutes: 10
100100

101+
# Configure Git:
102+
- name: 'Configure Git'
103+
run: |
104+
git config --local user.email "[email protected]"
105+
git config --local user.name "stdlib-bot"
106+
101107
# Apply Git notes:
102108
- name: 'Apply Git notes'
103109
run: |

.github/workflows/standalone_push_changes.yml

+6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ jobs:
6666
lfs: false
6767
timeout-minutes: 10
6868

69+
# Configure Git:
70+
- name: 'Configure Git'
71+
run: |
72+
git config --local user.email "[email protected]"
73+
git config --local user.name "stdlib-bot"
74+
6975
# Apply Git notes:
7076
- name: 'Apply Git notes'
7177
run: |

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_bundle_tags.yml.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
# Pin action to full length commit SHA
8080
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
8181

82-
# Configure git:
83-
- name: 'Configure git'
82+
# Configure Git:
83+
- name: 'Configure Git'
8484
run: |
8585
git config --local user.email "[email protected]"
8686
git config --local user.name "stdlib-bot"

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_productionize.yml.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696

97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "[email protected]"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "[email protected]"
198198
git config --local user.name "stdlib-bot"
@@ -366,8 +366,8 @@ jobs:
366366
# Pin action to full length commit SHA
367367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
368368

369-
# Configure git:
370-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
371371
run: |
372372
git config --local user.email "[email protected]"
373373
git config --local user.name "stdlib-bot"
@@ -539,8 +539,8 @@ jobs:
539539
# Pin action to full length commit SHA
540540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
541541

542-
# Configure git:
543-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
544544
run: |
545545
git config --local user.email "[email protected]"
546546
git config --local user.name "stdlib-bot"
@@ -735,8 +735,8 @@ jobs:
735735
echo "bump=true" >> $GITHUB_OUTPUT
736736
fi
737737

738-
# Configure git:
739-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
740740
if: steps.check-if-bump.outputs.bump
741741
run: |
742742
git config --local user.email "[email protected]"

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_productionize_cli.yml.txt

+12-12
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ jobs:
9393
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9494
fi
9595

96-
# Configure git:
97-
- name: 'Configure git'
96+
# Configure Git:
97+
- name: 'Configure Git'
9898
run: |
9999
git config --local user.email "[email protected]"
100100
git config --local user.name "stdlib-bot"
@@ -190,8 +190,8 @@ jobs:
190190
# Pin action to full length commit SHA
191191
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
192192

193-
# Configure git:
194-
- name: 'Configure git'
193+
# Configure Git:
194+
- name: 'Configure Git'
195195
run: |
196196
git config --local user.email "[email protected]"
197197
git config --local user.name "stdlib-bot"
@@ -365,8 +365,8 @@ jobs:
365365
# Pin action to full length commit SHA
366366
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
367367

368-
# Configure git:
369-
- name: 'Configure git'
368+
# Configure Git:
369+
- name: 'Configure Git'
370370
run: |
371371
git config --local user.email "[email protected]"
372372
git config --local user.name "stdlib-bot"
@@ -537,8 +537,8 @@ jobs:
537537
# Pin action to full length commit SHA
538538
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
539539

540-
# Configure git:
541-
- name: 'Configure git'
540+
# Configure Git:
541+
- name: 'Configure Git'
542542
run: |
543543
git config --local user.email "[email protected]"
544544
git config --local user.name "stdlib-bot"
@@ -715,8 +715,8 @@ jobs:
715715
# Pin action to full length commit SHA
716716
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
717717

718-
# Configure git:
719-
- name: 'Configure git'
718+
# Configure Git:
719+
- name: 'Configure Git'
720720
run: |
721721
git config --local user.email "[email protected]"
722722
git config --local user.name "stdlib-bot"
@@ -929,8 +929,8 @@ jobs:
929929
echo "bump=true" >> $GITHUB_OUTPUT
930930
fi
931931

932-
# Configure git:
933-
- name: 'Configure git'
932+
# Configure Git:
933+
- name: 'Configure Git'
934934
if: steps.check-if-bump.outputs.bump
935935
run: |
936936
git config --local user.email "[email protected]"

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "[email protected]"
7979
git config --local user.name "stdlib-bot"

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_cli.yml.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
node-version: 20
7575
timeout-minutes: 5
7676

77-
# Configure git:
78-
- name: 'Configure git'
77+
# Configure Git:
78+
- name: 'Configure Git'
7979
run: |
8080
git config --local user.email "[email protected]"
8181
git config --local user.name "stdlib-bot"

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish_toplevel.yml.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "[email protected]"
7979
git config --local user.name "stdlib-bot"

0 commit comments

Comments
 (0)