We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2030531 commit 812809dCopy full SHA for 812809d
.github/workflows/tryhackme-badge-action-workflow
@@ -0,0 +1,20 @@
1
+name: Update TryHackMe Badge
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 0 * * *' # Runs every day at midnight
6
+ workflow_dispatch: # Allows manual triggering
7
8
+jobs:
9
+ update-badge:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v2
14
+ - name: Fetch TryHackMe Badge
15
+ uses: ./
16
+ with:
17
+ image_path: './assets/tryhackme-badge.png'
18
+ username: 'dhanushnehru'
19
+ user_id: '1995656'
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments