-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
name: TryHackMe Update Badge | ||
|
||
on: | ||
schedule: | ||
# Make it run every 24 hour | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
jobs: | ||
tryhackme-badge-update: | ||
name: Update this repo's tryhackme badge with the latest tryhackme image badge | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: p4p1/tryhackme-badge-workflow@main | ||
with: | ||
# Replace with your tryhackme username | ||
username: "<USERNAME>" | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # Do not paste your github token here - this is a placeholder | ||
# and will pull your github token automatically |