Skip to content

Commit

Permalink
Update tryhackme-badge-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibutti authored Jul 16, 2024
1 parent ee4eda1 commit bb0bb7e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tryhackme-badge-workflow.yml
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

0 comments on commit bb0bb7e

Please sign in to comment.