File tree Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 34
34
# Define the secrets accessible by the workflow:
35
35
secrets :
36
36
STDLIB_BOT_GITHUB_TOKEN :
37
- description : ' GitHub token for stdlb -bot'
37
+ description : ' GitHub token for stdlib -bot'
38
38
required : true
39
39
REPO_GITHUB_TOKEN :
40
40
description : ' GitHub token for accessing the repository'
41
41
required : true
42
42
STDLIB_BOT_GPG_PRIVATE_KEY :
43
- description : ' GPG private key for stdlb -bot'
43
+ description : ' GPG private key for stdlib -bot'
44
44
required : true
45
45
STDLIB_BOT_GPG_PASSPHRASE :
46
- description : ' GPG passphrase for stdlb -bot'
46
+ description : ' GPG passphrase for stdlib -bot'
47
47
required : true
48
48
49
49
# Workflow jobs:
@@ -175,12 +175,12 @@ jobs:
175
175
- name : ' Commit and push changes'
176
176
env :
177
177
REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
178
- USER_NAME : stdlb -bot
178
+ USER_NAME : stdlib -bot
179
179
BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
180
180
REPO_NAME : ${{ steps.pr-details.outputs.repository }}
181
181
run : |
182
182
git config --local user.email "[email protected] "
183
- git config --local user.name "stdlib-bot "
183
+ git config --local user.name "$USER_NAME "
184
184
git add .
185
185
git commit -m "fix: resolve lint errors"
186
186
git push "https://$USER_NAME:[email protected] /$REPO_NAME.git" $BRANCH_NAME
Original file line number Diff line number Diff line change 34
34
# Define the secrets accessible by the workflow:
35
35
secrets :
36
36
STDLIB_BOT_GITHUB_TOKEN :
37
- description : ' GitHub token for stdlb -bot'
37
+ description : ' GitHub token for stdlib -bot'
38
38
required : true
39
39
REPO_GITHUB_TOKEN :
40
40
description : ' GitHub token for accessing the repository'
41
41
required : true
42
42
STDLIB_BOT_GPG_PRIVATE_KEY :
43
- description : ' GPG private key for stdlb -bot'
43
+ description : ' GPG private key for stdlib -bot'
44
44
required : true
45
45
STDLIB_BOT_GPG_PASSPHRASE :
46
- description : ' GPG passphrase for stdlb -bot'
46
+ description : ' GPG passphrase for stdlib -bot'
47
47
required : true
48
48
49
49
# Workflow jobs:
@@ -104,13 +104,13 @@ jobs:
104
104
- name : ' Merge develop branch'
105
105
env :
106
106
REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
107
- USER_NAME : stdlb -bot
107
+ USER_NAME : stdlib -bot
108
108
BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
109
109
REPO_NAME : ${{ steps.pr-details.outputs.repository }}
110
110
run : |
111
111
# Configure Git user:
112
112
git config --local user.email "[email protected] "
113
- git config --local user.name "stdlib-bot "
113
+ git config --local user.name "$USER_NAME "
114
114
115
115
# Add upstream remote pointing to the original repository:
116
116
git remote add upstream https://github.com/stdlib-js/stdlib.git
Original file line number Diff line number Diff line change 34
34
# Define the secrets accessible by the workflow:
35
35
secrets :
36
36
STDLIB_BOT_GITHUB_TOKEN :
37
- description : ' GitHub token for stdlb -bot'
37
+ description : ' GitHub token for stdlib -bot'
38
38
required : true
39
39
REPO_GITHUB_TOKEN :
40
40
description : ' GitHub token for accessing the repository'
41
41
required : true
42
42
STDLIB_BOT_GPG_PRIVATE_KEY :
43
- description : ' GPG private key for stdlb -bot'
43
+ description : ' GPG private key for stdlib -bot'
44
44
required : true
45
45
STDLIB_BOT_GPG_PASSPHRASE :
46
- description : ' GPG passphrase for stdlb -bot'
46
+ description : ' GPG passphrase for stdlib -bot'
47
47
required : true
48
48
49
49
# Workflow jobs:
@@ -104,13 +104,13 @@ jobs:
104
104
- name : ' Rebase on develop branch'
105
105
env :
106
106
REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
107
- USER_NAME : stdlb -bot
107
+ USER_NAME : stdlib -bot
108
108
BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
109
109
REPO_NAME : ${{ steps.pr-details.outputs.repository }}
110
110
run : |
111
111
# Configure Git user:
112
112
git config --local user.email "[email protected] "
113
- git config --local user.name "stdlib-bot "
113
+ git config --local user.name "$USER_NAME "
114
114
115
115
# Add upstream remote pointing to the original repository:
116
116
git remote add upstream https://github.com/stdlib-js/stdlib.git
Original file line number Diff line number Diff line change 34
34
# Define the secrets accessible by the workflow:
35
35
secrets :
36
36
STDLIB_BOT_GITHUB_TOKEN :
37
- description : ' GitHub token for stdlb -bot'
37
+ description : ' GitHub token for stdlib -bot'
38
38
required : true
39
39
REPO_GITHUB_TOKEN :
40
40
description : ' GitHub token for accessing the repository'
41
41
required : true
42
42
STDLIB_BOT_GPG_PRIVATE_KEY :
43
- description : ' GPG private key for stdlb -bot'
43
+ description : ' GPG private key for stdlib -bot'
44
44
required : true
45
45
STDLIB_BOT_GPG_PASSPHRASE :
46
- description : ' GPG passphrase for stdlb -bot'
46
+ description : ' GPG passphrase for stdlib -bot'
47
47
required : true
48
48
49
49
# Workflow jobs:
@@ -142,12 +142,12 @@ jobs:
142
142
- name : ' Commit and push changes'
143
143
env :
144
144
REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
145
- USER_NAME : stdlb -bot
145
+ USER_NAME : stdlib -bot
146
146
BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
147
147
REPO_NAME : ${{ steps.pr-details.outputs.repository }}
148
148
run : |
149
149
git config --local user.email "[email protected] "
150
- git config --local user.name "stdlib-bot "
150
+ git config --local user.name "$USER_NAME "
151
151
git add .
152
152
git commit -m "chore: update copyright years"
153
153
git push "https://$USER_NAME:[email protected] /$REPO_NAME.git" $BRANCH_NAME
You can’t perform that action at this time.
0 commit comments