Skip to content

Collect stats

Collect stats #1

Workflow file for this run

name: Run PowerShell Script and Commit File
on:
workflow_dispatch:
jobs:
create-and-commit-stats:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Run PowerShell Script
run: |
pwsh -File create_stats.ps1
shell: pwsh
- name: Commit stats.csv
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add stats.csv
git commit -m "Add stats.csv generated by PowerShell script"
git push
shell: pwsh