Skip to content

Commit 3ac92a3

Browse files
committed
build: set user name and token
1 parent 238c3f8 commit 3ac92a3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/run_tests_coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@
223223
# Limit clone depth to the most recent commit:
224224
fetch-depth: 1
225225

226+
# Token for accessing the repository:
227+
token: ${{ secrets.REPO_GITHUB_TOKEN }}
228+
226229
# Copy artifacts to the repository:
227230
- name: 'Copy artifacts to the repository'
228231
run: |
@@ -232,11 +235,12 @@
232235
- name: 'Commit and push changes'
233236
env:
234237
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
238+
USER_NAME: stdlib-bot
235239
run: |
236240
cd ./www-test-code-coverage
237241
git add .
238242
git config --local user.email "noreply@stdlib.io"
239243
git config --local user.name "stdlib-bot"
240244
git commit -m "Update artifacts"
241-
git push "https://$REPO_GITHUB_TOKEN@github.com/stdlib-js/www-test-code-coverage.git"
245+
git push "https://$USER_NAME:$REPO_GITHUB_TOKEN@github.com/stdlib-js/www-test-code-coverage.git" main
242246

lib/node_modules/@stdlib/random/streams/beta/lib/object_mode.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ var RandomStream = require( './main.js' );
4949
* @throws {Error} must provide a valid state
5050
* @returns {RandomStream} Stream instance
5151
*
52-
*
5352
* @example
5453
* var inspectStream = require( '@stdlib/streams/node/inspect-sink' );
5554
*

0 commit comments

Comments
 (0)