Skip to content

Commit e1b7e61

Browse files
Update GitHub token and user details in workflow
1 parent 23ac73f commit e1b7e61

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/generate_profile_workflow.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
# types: [opened, reopened]
1212

1313
env:
14-
GH_TOKEN: ${{ secrets.Sahar_Workflows_Token }}
14+
GH_TOKEN: ${{ secrets.BS_GH_TOKEN }}
1515

1616
# inputs:
1717
# branch-name:
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Checkout the DDE repo
5353
env:
54-
GITHUB_TOKEN: ${{ secrets.Sahar_Workflows_Token }}
54+
GITHUB_TOKEN: ${{ secrets.BS_GH_TOKEN }}
5555
run: |
5656
git clone https://user:$GITHUB_TOKEN@github.com/BioSchemas/bioschemas-dde
5757
cd bioschemas-dde
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Checkout the Website repo
6262
env:
63-
GITHUB_TOKEN: ${{ secrets.Sahar_Workflows_Token }}
63+
GITHUB_TOKEN: ${{ secrets.BS_GH_TOKEN }}
6464
run: |
6565
git clone https://user:$GITHUB_TOKEN@github.com/BioSchemas/bioschemas.github.io
6666
cd bioschemas.github.io
@@ -86,17 +86,17 @@ jobs:
8686
uses: oleksiyrudenko/gha-git-credentials@v2-latest
8787
with:
8888
path: bioschemas.github.io
89-
email: sahar.frikha1@gmail.com
90-
name: sahar-frikha
91-
actor: sahar-frikha
92-
token: '${{secrets.Sahar_Workflows_Token}}'
89+
email: alban.gaignard@univ-nantes.fr
90+
name: alban.gaignard
91+
actor: alban.gaignard
92+
token: '${{secrets.BS_GH_TOKEN}}'
9393

9494
- name: Commit and Push the changes in the website
9595
run: |
9696
sleep 5
9797
cd bioschemas.github.io
98-
git config user.name "sahar-frikha"
99-
git config user.email "sahar.frikha1@gmail.com"
98+
git config user.name "alban.gaignard"
99+
git config user.email "alban.gaignard@univ-nantes.fr"
100100
git status
101101
git add .
102102
git commit -m "Updating Profile"
@@ -111,8 +111,8 @@ jobs:
111111
- name: Commit and Push the changes in the DDE repository
112112
run: |
113113
cd bioschemas-dde
114-
git config user.name "sahar-frikha"
115-
git config user.email "sahar.frikha1@gmail.com"
114+
git config user.name "alban.gaignard"
115+
git config user.email "alban.gaignard@univ-nantes.fr"
116116
git status
117117
git add .
118118
git commit -m "Updating Profile"

0 commit comments

Comments
 (0)