From 65c1e3cdb2cea7c3b140e9fb0ae6dc75e0cf87ce Mon Sep 17 00:00:00 2001 From: mikecoomber Date: Thu, 17 Oct 2024 12:25:49 +0100 Subject: [PATCH] ci: changed pull request code coverage pass score --- .github/workflows/pull-request.yml | 36 +++++++++---------- .../components/top_app_bar/top_app_bar.dart | 2 ++ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a55af954..04b742f7 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,32 +1,30 @@ name: CI - Pull Request on: pull_request_target: - + # Pull Request Runs on the same branch will be cancelled concurrency: group: ${{ github.head_ref }} cancel-in-progress: true - jobs: code-quality: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - repository: ${{github.event.pull_request.head.repo.full_name}} - ref: ${{ github.head_ref }} - fetch-depth: 0 - - uses: subosito/flutter-action@v2 - with: - cache: true - - run: dart run build_runner build --delete-conflicting-outputs - - uses: ZebraDevs/flutter-code-quality@main - with: - token: ${{secrets.GITHUB_TOKEN}} - coverage-pass-score: '90' - - + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + repository: ${{github.event.pull_request.head.repo.full_name}} + ref: ${{ github.head_ref }} + fetch-depth: 0 + - uses: subosito/flutter-action@v2 + with: + cache: true + - run: dart run build_runner build --delete-conflicting-outputs + - uses: ZebraDevs/flutter-code-quality@main + with: + token: ${{secrets.GITHUB_TOKEN}} + coverage-pass-score: "80" + check-secret: runs-on: ubuntu-latest outputs: diff --git a/lib/src/components/top_app_bar/top_app_bar.dart b/lib/src/components/top_app_bar/top_app_bar.dart index 86ff8a10..07030848 100644 --- a/lib/src/components/top_app_bar/top_app_bar.dart +++ b/lib/src/components/top_app_bar/top_app_bar.dart @@ -8,6 +8,8 @@ import 'search_top_app_bar.dart'; export 'search_top_app_bar.dart' hide ZetaTopAppBarSearchField; /// Top app bars provide content and actions related to the current screen. +/// +/// To create Extended, Centered, or Search app bars, use the respective constructors. /// {@category Components} /// /// Figma: https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=229-37&node-type=canvas&m=dev