From da13f7d15ac532486816d8bd490f17245f3d89cf Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Tue, 24 Mar 2026 14:56:16 +0900 Subject: [PATCH] [Tizen] Remove unnecessary CI --- .github/workflows/content-aware-hash.yml | 26 ------- .github/workflows/coverage.yml | 29 ------- .github/workflows/easy-cp.yml | 99 ------------------------ .github/workflows/lock.yaml | 35 --------- .github/workflows/merge-changelog.yml | 58 -------------- .github/workflows/tool-test-general.yml | 30 ------- 6 files changed, 277 deletions(-) delete mode 100644 .github/workflows/content-aware-hash.yml delete mode 100644 .github/workflows/coverage.yml delete mode 100644 .github/workflows/easy-cp.yml delete mode 100644 .github/workflows/lock.yaml delete mode 100644 .github/workflows/merge-changelog.yml delete mode 100644 .github/workflows/tool-test-general.yml diff --git a/.github/workflows/content-aware-hash.yml b/.github/workflows/content-aware-hash.yml deleted file mode 100644 index f4fdf557b8f2c..0000000000000 --- a/.github/workflows/content-aware-hash.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2013 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -name: Generate a content aware hash for the Flutter Engine - -on: workflow_dispatch - -permissions: - contents: read - -jobs: - generate-engine-content-hash: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - - - name: Generate Hash - run: | - # Script updated to handle gh-readonly-queue/ branches - engine_content_hash=$(bin/internal/content_aware_hash.sh) - # test notice annotation for retrival from api - echo "::notice ::{\"engine_content_hash\": \"${engine_content_hash}\"}" - # test summary writing - echo "{\"engine_content_hash\": \"${engine_content_hash}\"" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 091ba4fb49d7e..0000000000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2013 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -name: coverage - -on: - push: - branches: - - master - paths: - - 'packages/flutter/**' - -permissions: read-all - -jobs: - build: - name: coverage - runs-on: ubuntu-latest - if: ${{ github.repository == 'flutter/flutter' }} - steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - - name: ./bin/flutter test --coverage - run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd - - name: upload coverage - uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 - with: - files: packages/flutter/coverage/lcov.info - verbose: true diff --git a/.github/workflows/easy-cp.yml b/.github/workflows/easy-cp.yml deleted file mode 100644 index 78bc1d7d67d32..0000000000000 --- a/.github/workflows/easy-cp.yml +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2023 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -name: Cherry-pick Labeled PR to Release Branch - -on: - pull_request_target: - branches: master - types: [labeled] - -permissions: - contents: read - pull-requests: write - -jobs: - cherrypick_not_merged_remove_label: - name: cherrypick_not_merged_remove_label - runs-on: ubuntu-latest - if: | - (github.event.label.name == format('cp{0} beta', ':') || github.event.label.name == format('cp{0} stable', ':')) && - (github.event.pull_request.merged == false) - steps: - - name: Leave Comment and Remove Label - run: | - gh pr edit ${{ github.event.pull_request.number }} --remove-label "cp: beta" - gh pr edit ${{ github.event.pull_request.number }} --remove-label "cp: stable" - gh pr comment ${{ github.event.pull_request.number }} -R flutter/flutter -b "Only merged pull requests can be cherrypicked." - env: - GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} - cherrypick_to_release: - name: cherrypick_to_release - runs-on: ubuntu-latest - if: | - (github.event.label.name == format('cp{0} beta', ':') || github.event.label.name == format('cp{0} stable', ':')) && - (github.event.pull_request.merged == true) - steps: - - name: Get Release Channel - run: | - echo "CHANNEL=$(echo ${{ github.event.label.name }} | cut -d ':' -f 2 | xargs)" >> $GITHUB_ENV - - name: Get Release Candidate Branch - run: | - RELEASE_BRANCH=$(curl https://raw.githubusercontent.com/flutter/flutter/$CHANNEL/bin/internal/release-candidate-branch.version) - echo "RELEASE_BRANCH=$(echo $RELEASE_BRANCH | tr -d '\n')" >> $GITHUB_ENV - - name: Get Cherry Pick PR - run: | - echo "COMMIT_SHA=$(echo ${{ github.event.pull_request.merge_commit_sha }})" >> $GITHUB_ENV - - name: Checkout Flutter Repo - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - with: - repository: flutteractionsbot/flutter - path: flutter - ref: master - persist-credentials: false - # Checkout all history commits on master branch, so that the cp commit is a known object - fetch-depth: 0 - # use same name when checking out branch, since the marketplace action does a hard reset. - - name: Attempt CP - id: attempt-cp - working-directory: ./flutter - run: | - git config user.name "GitHub Actions Bot" - git config user.email "<>" - git remote add upstream https://github.com/flutter/flutter.git - git fetch upstream $RELEASE_BRANCH - git fetch upstream master - git checkout -b cp-${CHANNEL}-${COMMIT_SHA} --track upstream/$RELEASE_BRANCH - git cherry-pick $COMMIT_SHA - - name: Create PR on CP success - if: ${{ steps.attempt-cp.conclusion == 'success' }} - working-directory: ./flutter - id: create-pr - run: | - git push https://${{ env.GITHUB_TOKEN }}@github.com/flutteractionsbot/flutter cp-${CHANNEL}-${COMMIT_SHA} - { - echo 'PR_URL<> "$GITHUB_ENV" - env: - GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} - PR_TITLE: ${{ github.event.pull_request.title }} - - name: Leave Comment on CP success - if: ${{ steps.create-pr.conclusion == 'success' }} - run: | - echo $PR_URL - NEW_PR_NUMBER="${PR_URL##*/}" - SUCCESS_MSG=" @${{ github.actor }} please fill out the PR description above, afterwards the release team will review this request." - gh pr comment $NEW_PR_NUMBER -R flutter/flutter -b "${SUCCESS_MSG}" - env: - GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} - - name: Leave Comment on CP failure - if: ${{ failure() && steps.attempt-cp.conclusion == 'failure' }} - run: | - FAILURE_MSG="Failed to create CP due to merge conflicts.
" - FAILURE_MSG+="You will need to create the PR manually. See [the cherrypick wiki](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md) for more info." - gh pr comment ${{ github.event.pull_request.number }} -R flutter/flutter -b "${FAILURE_MSG}" - env: - GITHUB_TOKEN: ${{ secrets.FLUTTERACTIONSBOT_CP_TOKEN }} diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml deleted file mode 100644 index e1b9355be94dd..0000000000000 --- a/.github/workflows/lock.yaml +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2013 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# Configuration for Lock Threads - https://github.com/dessant/lock-threads - -name: 'Lock Threads' - -# By specifying the access of one of the scopes, all of those that are not -# specified are set to 'none'. -permissions: - issues: write - -on: - schedule: - - cron: '0 * * * *' - -jobs: - lock: - permissions: - issues: write - runs-on: ubuntu-latest - if: ${{ github.repository == 'flutter/flutter' }} - steps: - - uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 - with: - process-only: 'issues' - github-token: ${{ github.token }} - # Number of days of inactivity before a closed issue is locked. - issue-inactive-days: '14' - issue-comment: > - This thread has been automatically locked since there has not been - any recent activity after it was closed. If you are still experiencing a - similar issue, please open a new bug, including the output of - `flutter doctor -v` and a minimal reproduction of the issue. diff --git a/.github/workflows/merge-changelog.yml b/.github/workflows/merge-changelog.yml deleted file mode 100644 index 0e40867a8608c..0000000000000 --- a/.github/workflows/merge-changelog.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Sync stable CHANGELOG to master - -on: - push: - branches: [stable] - paths: - - 'CHANGELOG.md' - -jobs: - merge-changelog: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - - steps: - - name: Setup Repository - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - with: - repository: ${{ github.repository }} - ref: master - - - name: Configure git - run: | - git config user.name "[bot] Merge Changelog" - git config user.email "<>" - - - name: Read CHANGELOG.md from the stable branch - id: read_stable_changelog - run: | - CHANGELOG_CONTENT=$(git show origin/stable:CHANGELOG.md) - echo "CHANGELOG_CONTENT<> $GITHUB_ENV - echo "$CHANGELOG_CONTENT" >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV - - - name: Prepare PR branch and commit changes - id: prepare_pr_branch - run: | - PR_BRANCH="sync-changelog-stable-to-master-$(date +%s)" - echo "pr_branch_name=$PR_BRANCH" >> "$GITHUB_OUTPUT" - git checkout -b "$PR_BRANCH" master - echo "${{ env.CHANGELOG_CONTENT }}" > CHANGELOG.md - git add CHANGELOG.md - git commit -m "Sync CHANGELOG.md from stable" - git push origin "$PR_BRANCH" - - - name: Create Pull Request - env: - GH_TOKEN: ${{ github.token }} - run: | - PR_HEAD_BRANCH=${{ steps.prepare_pr_branch.outputs.pr_branch_name }} - - gh pr create \ - --base master \ - --head "$PR_HEAD_BRANCH" \ - --title "Sync CHANGELOG.md from stable" \ - --body "This PR automates the synchronization of \`CHANGELOG.md\` from the \`stable\` branch to the \`master\` branch." \ - --label autosubmit diff --git a/.github/workflows/tool-test-general.yml b/.github/workflows/tool-test-general.yml deleted file mode 100644 index d326db08ebeac..0000000000000 --- a/.github/workflows/tool-test-general.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Tool tests general - experiment - -on: - pull_request: - branches: [master] - paths: - - '.github/workflows/tool-test-general.yml' - - 'dev/**' - - 'packages/flutter_tools/**' - - 'bin/**' - - '.ci.yaml' - - 'engine/**' - - 'DEPS' - push: - branches: [master] - -jobs: - Linux_tool-tests-general: - permissions: - contents: read - runs-on: ubuntu-latest - - steps: - # Note: we must check out the tree for the composite action to be available - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - - uses: ./.github/actions/composite-flutter-setup - - - name: Tool Test - run: | - SHARD=tool_tests SUBSHARD=general dart --enable-asserts dev/bots/test.dart