Add a workflow (only triggered from rest events) for hasing experiment (#164657)

This commit is contained in:
John McDole 2025-03-05 15:07:54 -08:00 committed by GitHub
parent 0e43c50faa
commit 329f36e521
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,22 @@
# 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
jobs:
hash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Fetch base commit and origin/master
run: |
git fetch --no-tags --prune --depth=1 origin ${{ github.event.pull_request.base.sha }}
- name: Generate Hash
run: |
git ls-tree HEAD DEPS bin/internal/release-candidate-branch.version engine | git hash-object --stdin