Run Reports #17385
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: Run Reports | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "5 * * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{secrets.ACTION_BOT}} | |
- name: Run report script | |
shell: pwsh | |
run: .\Scripts\MonthlyReports.ps1 | |
- name: git add | |
run: git add . | |
- name: git commit | |
run: | | |
git config user.name "Action Bot" | |
git config user.email "<>" | |
git commit -m "Mastodon Report Run $(date +'%Y-%m-%dT%H:%M:%S')" | |
- name: git push | |
run: git push |