From 5a6281b6f479ff425ebc6e20d6af07d8963de0d3 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Wed, 8 Nov 2023 20:28:47 +1000 Subject: [PATCH] Drop `beta` branch CI, update `main` branch CI to check for `flutter/games` --- .github/workflows/beta.yml | 37 ----------------------- .github/workflows/main.yml | 4 +-- .github/workflows/scorecards-analysis.yml | 2 +- 3 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/beta.yml diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml deleted file mode 100644 index 41a9f3d..0000000 --- a/.github/workflows/beta.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Beta Branch CI - -# Declare default permissions as read only. -permissions: read-all - -on: - push: - branches: [beta] - pull_request: - branches: [beta] - workflow_dispatch: - -defaults: - run: - shell: bash - -jobs: - # Run the stable test script on the beta channel. Since this branch will soon - # be merged into main as our stable-targeting code, this is the key thing we - # need to test. - stable-tests-on-beta: - runs-on: ${{ matrix.os }} - if: github.repository == 'flutter/samples' - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 - with: - distribution: 'zulu' - java-version: '17' - - uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 - with: - channel: beta - - run: ./flutter_ci_script_stable.sh diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c830a0b..b398385 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Main Branch CI +name: Flutter Games CI # Declare default permissions as read only. permissions: read-all @@ -20,7 +20,7 @@ jobs: flutter-tests: name: Test Flutter ${{ matrix.flutter_version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} - if: github.repository == 'flutter/samples' + if: github.repository == 'flutter/games' strategy: fail-fast: false matrix: diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index a868fcf..bc7b966 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -12,7 +12,7 @@ jobs: analysis: name: Scorecards analysis runs-on: ubuntu-latest - if: ${{ github.repository == 'flutter/samples' }} + if: ${{ github.repository == 'flutter/games' }} permissions: # Needed to upload the results to code-scanning dashboard. security-events: write