Vatsal Gupta commited on
Commit
f744eef
·
unverified ·
1 Parent(s): 37c88d6

Fix Vulnerablility

Browse files
.github/workflows/huggingface-push.yaml CHANGED
@@ -18,7 +18,7 @@ jobs:
18
  - name: Configure Git
19
  run: |
20
  git config --global user.email "action@github.com"
21
- git config --global user.name "${{ github.actor }}"
22
  - name: Push to Hugging Face Hub
23
  env:
24
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
 
18
  - name: Configure Git
19
  run: |
20
  git config --global user.email "action@github.com"
21
+ git config --global user.name "github-actions"
22
  - name: Push to Hugging Face Hub
23
  env:
24
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
.github/workflows/huggingface-test.yaml CHANGED
@@ -19,7 +19,7 @@ jobs:
19
  - name: Configure Git
20
  run: |
21
  git config --global user.email "action@github.com"
22
- git config --global user.name "${{ github.actor }}"
23
  - name: Push to Hugging Face Hub
24
  env:
25
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
 
19
  - name: Configure Git
20
  run: |
21
  git config --global user.email "action@github.com"
22
+ git config --global user.name "github-actions"
23
  - name: Push to Hugging Face Hub
24
  env:
25
  HF_TOKEN: ${{ secrets.HF_TOKEN }}