Skip to content

Commit 28d2e3d

Browse files
authored
Update tryhackme-badge-action-workflow
Addition made to include configure git identity
1 parent 812809d commit 28d2e3d

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/tryhackme-badge-action-workflow

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ on:
88
jobs:
99
update-badge:
1010
runs-on: ubuntu-latest
11+
1112
steps:
1213
- name: Checkout repository
1314
uses: actions/checkout@v2
15+
16+
- name: Configure Git Identity
17+
run: |
18+
git config --global user.name "GitHub Actions Bot"
19+
git config --global user.email "[email protected]"
20+
1421
- name: Fetch TryHackMe Badge
15-
uses: ./
22+
uses: DhanushNehru/[email protected]
1623
with:
1724
image_path: './assets/tryhackme-badge.png'
18-
username: 'dhanushnehru'
19-
user_id: '1995656'
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
username: 'thm username'
26+
user_id: 'github user.id'
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)