Skip to content

Commit

Permalink
Fixes syntax error for Update PR Actions (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon authored Feb 25, 2024
1 parent bc6db3b commit 31d8465
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Post Build
name: Update PR
on:
workflow_run:
workflows: [PR Build]
Expand Down Expand Up @@ -34,7 +34,9 @@ jobs:
with zip.open("build-info.json") as info:
info = json.load(info)
cmp = repo.compare(info["base"], f"{info["author"]}:{info["head"]}")
author = info["author"];
head = info["head"]
cmp = repo.compare(info["base"], f"{author}:{head}")
if cmp.status != "behind":
pull = repo.get_pull(info["pr"])
Expand Down

0 comments on commit 31d8465

Please sign in to comment.