Commit 0ce6902f authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

Merge pull request #4673 from ethereum-optimism/bugfix/check-changed-patterns

check-changed: Add additional patterns to force total rebuild
parents e3d374ec 107f1026
......@@ -6,6 +6,14 @@ import sys
from github import Github
REBUILD_ALL_PATTERNS = [
r'^\.circleci/\.*',
r'^\.github/\.*',
r'^package\.json',
r'^yarn\.lock',
r'ops/check-changed/.*'
]
WHITELISTED_BRANCHES = {
'master',
'develop'
......@@ -42,7 +50,7 @@ log = logging.getLogger(__name__)
def main():
patterns = sys.argv[1].split(',')
patterns.append(r'^\.circleci/\.*')
patterns = patterns + REBUILD_ALL_PATTERNS
fp = os.path.realpath(__file__)
monorepo_path = os.path.realpath(os.path.join(fp, '..', '..'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment