diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 32fdfc4..4a7f496 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,9 +1,10 @@ name: Build and Test -# Run on PRs and pushes to any branch +# Run on PRs to main and direct pushes to main +# This avoids duplicate runs when pushing to a PR branch on: push: - branches: [ '**' ] + branches: [ main ] pull_request: branches: [ main ] diff --git a/.gitignore b/.gitignore index 248f8eb..67ce05f 100644 --- a/.gitignore +++ b/.gitignore @@ -385,4 +385,4 @@ FodyWeavers.xsd *.sln.iml # macOS -.DS_Store \ No newline at end of file +.DS_Storescreenshots/ diff --git a/Layout/MainLayout.razor b/Layout/MainLayout.razor index b4f1ca1..0c3bd16 100644 --- a/Layout/MainLayout.razor +++ b/Layout/MainLayout.razor @@ -1,7 +1,16 @@ @inherits LayoutComponentBase @inject IJSRuntime JSRuntime -
+