Merge branch 'feature/6-feature-use-expressions-for-filters' of https… #39
Workflow file for this run
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: Format | |
on: | |
push: | |
workflow_run: | |
workflows: | |
- Create Prerelease | |
- Create Release | |
types: [requested] | |
workflow_dispatch: | |
pull_request: | |
types: [opened,edited,synchronize,reopened] | |
branches: | |
- main | |
- develop | |
env: | |
DOTNET_VERSION: '8.0.x' | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Format | |
run: dotnet format | |
- name: Update Styles | |
continue-on-error: true | |
run: | | |
git config --global user.name 'github-actions' | |
git config --global user.email '[email protected]' | |
git commit -am "Updated code formatting to match rules in .editorconfig" | |
git push | |