Skip to content

Commit

Permalink
patch 22
Browse files Browse the repository at this point in the history
patch 22
  • Loading branch information
piotrnarajowski committed Jul 17, 2024
1 parent c7b4a93 commit 0b1228e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/check_for_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -55,8 +55,7 @@ def main():
# print(f"Rev parse result: HEAD, HEAD^, master. origin/master {rev_parse}")

result = subprocess.run(
['git', 'diff', '--name-only', 'd9701e95da6ed7df3d134e44eb430169eb8cd3ca',
'0c314cdf0a8b7d76f807104502f1b1b37658f9f3', '--', 'autopts/wid/'],
['git', 'diff', '--name-only', 'origin/master', base_ref, '--', 'autopts/wid/'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True
)

Expand Down

0 comments on commit 0b1228e

Please sign in to comment.