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 3434 # Define the secrets accessible by the workflow:
3535 secrets :
3636 STDLIB_BOT_GITHUB_TOKEN :
37- description : ' GitHub token for stdlb -bot'
37+ description : ' GitHub token for stdlib -bot'
3838 required : true
3939 REPO_GITHUB_TOKEN :
4040 description : ' GitHub token for accessing the repository'
4141 required : true
4242 STDLIB_BOT_GPG_PRIVATE_KEY :
43- description : ' GPG private key for stdlb -bot'
43+ description : ' GPG private key for stdlib -bot'
4444 required : true
4545 STDLIB_BOT_GPG_PASSPHRASE :
46- description : ' GPG passphrase for stdlb -bot'
46+ description : ' GPG passphrase for stdlib -bot'
4747 required : true
4848
4949# Workflow jobs:
@@ -175,12 +175,12 @@ jobs:
175175 - name : ' Commit and push changes'
176176 env :
177177 REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
178- USER_NAME : stdlb -bot
178+ USER_NAME : stdlib -bot
179179 BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
180180 REPO_NAME : ${{ steps.pr-details.outputs.repository }}
181181 run : |
182182 git config --local user.email "82920195+stdlib-bot@users.noreply.github.com"
183- git config --local user.name "stdlib-bot "
183+ git config --local user.name "$USER_NAME "
184184 git add .
185185 git commit -m "fix: resolve lint errors"
186186 git push "https://$USER_NAME:$REPO_GITHUB_TOKEN@github.com/$REPO_NAME.git" $BRANCH_NAME
Original file line number Diff line number Diff line change 3434 # Define the secrets accessible by the workflow:
3535 secrets :
3636 STDLIB_BOT_GITHUB_TOKEN :
37- description : ' GitHub token for stdlb -bot'
37+ description : ' GitHub token for stdlib -bot'
3838 required : true
3939 REPO_GITHUB_TOKEN :
4040 description : ' GitHub token for accessing the repository'
4141 required : true
4242 STDLIB_BOT_GPG_PRIVATE_KEY :
43- description : ' GPG private key for stdlb -bot'
43+ description : ' GPG private key for stdlib -bot'
4444 required : true
4545 STDLIB_BOT_GPG_PASSPHRASE :
46- description : ' GPG passphrase for stdlb -bot'
46+ description : ' GPG passphrase for stdlib -bot'
4747 required : true
4848
4949# Workflow jobs:
@@ -104,13 +104,13 @@ jobs:
104104 - name : ' Merge develop branch'
105105 env :
106106 REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
107- USER_NAME : stdlb -bot
107+ USER_NAME : stdlib -bot
108108 BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
109109 REPO_NAME : ${{ steps.pr-details.outputs.repository }}
110110 run : |
111111 # Configure Git user:
112112 git config --local user.email "82920195+stdlib-bot@users.noreply.github.com"
113- git config --local user.name "stdlib-bot "
113+ git config --local user.name "$USER_NAME "
114114
115115 # Add upstream remote pointing to the original repository:
116116 git remote add upstream https://github.com/stdlib-js/stdlib.git
Original file line number Diff line number Diff line change 3434 # Define the secrets accessible by the workflow:
3535 secrets :
3636 STDLIB_BOT_GITHUB_TOKEN :
37- description : ' GitHub token for stdlb -bot'
37+ description : ' GitHub token for stdlib -bot'
3838 required : true
3939 REPO_GITHUB_TOKEN :
4040 description : ' GitHub token for accessing the repository'
4141 required : true
4242 STDLIB_BOT_GPG_PRIVATE_KEY :
43- description : ' GPG private key for stdlb -bot'
43+ description : ' GPG private key for stdlib -bot'
4444 required : true
4545 STDLIB_BOT_GPG_PASSPHRASE :
46- description : ' GPG passphrase for stdlb -bot'
46+ description : ' GPG passphrase for stdlib -bot'
4747 required : true
4848
4949# Workflow jobs:
@@ -104,13 +104,13 @@ jobs:
104104 - name : ' Rebase on develop branch'
105105 env :
106106 REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
107- USER_NAME : stdlb -bot
107+ USER_NAME : stdlib -bot
108108 BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
109109 REPO_NAME : ${{ steps.pr-details.outputs.repository }}
110110 run : |
111111 # Configure Git user:
112112 git config --local user.email "82920195+stdlib-bot@users.noreply.github.com"
113- git config --local user.name "stdlib-bot "
113+ git config --local user.name "$USER_NAME "
114114
115115 # Add upstream remote pointing to the original repository:
116116 git remote add upstream https://github.com/stdlib-js/stdlib.git
Original file line number Diff line number Diff line change 3434 # Define the secrets accessible by the workflow:
3535 secrets :
3636 STDLIB_BOT_GITHUB_TOKEN :
37- description : ' GitHub token for stdlb -bot'
37+ description : ' GitHub token for stdlib -bot'
3838 required : true
3939 REPO_GITHUB_TOKEN :
4040 description : ' GitHub token for accessing the repository'
4141 required : true
4242 STDLIB_BOT_GPG_PRIVATE_KEY :
43- description : ' GPG private key for stdlb -bot'
43+ description : ' GPG private key for stdlib -bot'
4444 required : true
4545 STDLIB_BOT_GPG_PASSPHRASE :
46- description : ' GPG passphrase for stdlb -bot'
46+ description : ' GPG passphrase for stdlib -bot'
4747 required : true
4848
4949# Workflow jobs:
@@ -142,12 +142,12 @@ jobs:
142142 - name : ' Commit and push changes'
143143 env :
144144 REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
145- USER_NAME : stdlb -bot
145+ USER_NAME : stdlib -bot
146146 BRANCH_NAME : ${{ steps.pr-details.outputs.branch }}
147147 REPO_NAME : ${{ steps.pr-details.outputs.repository }}
148148 run : |
149149 git config --local user.email "82920195+stdlib-bot@users.noreply.github.com"
150- git config --local user.name "stdlib-bot "
150+ git config --local user.name "$USER_NAME "
151151 git add .
152152 git commit -m "chore: update copyright years"
153153 git push "https://$USER_NAME:$REPO_GITHUB_TOKEN@github.com/$REPO_NAME.git" $BRANCH_NAME
You can’t perform that action at this time.
0 commit comments