mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 08:02:06 +00:00

PR-URL: https://github.com/nodejs/node/pull/35415 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# Copyright 2020 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
INTERESTING_PATHS = [
|
|
'AUTHORS',
|
|
'CODE_OF_CONDUCT.md',
|
|
'LICENSE',
|
|
'samples/cppgc/**',
|
|
'src/base/**',
|
|
'src/heap/base/**',
|
|
'src/heap/cppgc/**',
|
|
'include/cppgc/**',
|
|
'include/v8config.h',
|
|
'include/v8-platform.h',
|
|
'testing/**',
|
|
'test/unittests/heap/cppgc/**',
|
|
]
|
|
|
|
origin_url = 'https://chromium.googlesource.com/v8/v8.git'
|
|
# TODO(v8:10724): Add GitHub destination url.
|
|
destination_url = 'TODO'
|
|
|
|
# This workflow syncs cppgc source inside V8's googlesource repo with GitHub.
|
|
core.workflow(
|
|
name='default',
|
|
origin=git.origin(
|
|
url=origin_url,
|
|
ref='master',
|
|
),
|
|
destination=git.destination(url=destination_url, ),
|
|
origin_files=glob(INTERESTING_PATHS,
|
|
exclude=['samples/cppgc/cppgc-for-v8-embedders.cc']),
|
|
destination_files=glob(['**'], exclude=['CMakeLists.txt', 'cmake/**']),
|
|
mode='SQUASH',
|
|
authoring=authoring.pass_thru('V8 Team <v8-dev@googlegroups.com>'),
|
|
transformations=[
|
|
metadata.squash_notes(prefix='Export of V8 changes from ' +
|
|
origin_url + '\n\nList of included changes:\n\n')
|
|
]
|
|
)
|