.github/workflows/dotnet-format-daily.yml
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
name: Daily Code Format Check
on:
schedule:
- cron: 0 0 * * * # Every day at midnight (UTC)
workflow_dispatch:
jobs:
dotnet-format:
runs-on: ubuntu-latest
steps:
- name: Code Formatting
uses: butr/actions-code-format-setup@v1
with:
workspace: "src/YellToInspire.sln"
github-token: ${{ secrets.GITHUB_TOKEN }}