diff --git a/.github/workflows/todos.yml b/.github/workflows/update-todo-badges.yml similarity index 82% rename from .github/workflows/todos.yml rename to .github/workflows/update-todo-badges.yml index 58fce83..f33b707 100644 --- a/.github/workflows/todos.yml +++ b/.github/workflows/update-todo-badges.yml @@ -1,4 +1,4 @@ -name: TODOs +name: Update TODO Badges on: push: @@ -15,11 +15,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install PowerShell + - name: Ensure PowerShell is installed run: | sudo apt-get update sudo apt-get install -y powershell + - name: Make script executable + run: chmod +x ./scripts/update-todo-badges.ps1 + - name: Update TODO badges shell: pwsh run: ./scripts/update-todo-badges.ps1