Rename workflow and update job names
This commit is contained in:
@@ -1,15 +1,20 @@
|
|||||||
name: Update badges
|
name: Update Badges
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# Runs at 2am UTC
|
# Runs daily at 2 AM UTC
|
||||||
- cron: "0 2 * * *"
|
- cron: "0 2 * * *"
|
||||||
|
workflow_dispatch: # Allow manual runs
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-readme:
|
update-badges:
|
||||||
name: Update Readme with badges
|
name: Update README with Credly Badges
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Badges - Readme
|
- name: Update Badges
|
||||||
uses: pemtajo/badge-readme@main
|
uses: pemtajo/badge-readme@main
|
||||||
with:
|
with:
|
||||||
CREDLY_USER: john-ellis.d1fc1b41
|
CREDLY_USER: john-ellis.d1fc1b41
|
||||||
|
NUMBER_LAST_BADGES: 10 # Show last 10 badges (0 = all)
|
||||||
|
|||||||
Reference in New Issue
Block a user