From 12b57cb2e8cbf2acce9f58662ff6261c2287dbf2 Mon Sep 17 00:00:00 2001 From: Piotr Narajowski Date: Wed, 17 Jul 2024 13:06:39 +0200 Subject: [PATCH] patch21 patch21 --- .github/check_for_changes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/check_for_changes.py b/.github/check_for_changes.py index c2cb015160..c6eb635643 100644 --- a/.github/check_for_changes.py +++ b/.github/check_for_changes.py @@ -37,8 +37,8 @@ def main(): mb = run_cmd(f"git merge-base {upstream} {commit}") upstream = mb[0] - base_ref = os.environ.get('GITHUB_BASE_REF') - head_ref = os.environ.get('GITHUB_HEAD_REF') + # base_ref = os.environ.get('GITHUB_BASE_REF') + # head_ref = os.environ.get('GITHUB_HEAD_REF') # remote = subprocess.run( # ['git', 'remote', '-v'], @@ -55,7 +55,8 @@ def main(): # print(f"Rev parse result: HEAD, HEAD^, master. origin/master {rev_parse}") result = subprocess.run( - ['git', 'diff', '--name-only', base_ref, head_ref, '--', 'autopts/wid/'], + ['git', 'diff', '--name-only', 'd9701e95da6ed7df3d134e44eb430169eb8cd3ca', + '0c314cdf0a8b7d76f807104502f1b1b37658f9f3', '--', 'autopts/wid/'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True )