TryHackMe Update Badge #485
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
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: ./ | |
with: | |
# Replace with your tryhackme username | |
username: "p4p1" | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # Do not paste your github token here - this is a placeholder | |
# and will pull your github token automatically |