Skip to content

Commit

Permalink
pr Id > number
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeker12 committed Oct 29, 2024
1 parent 18468b4 commit 609521b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/scripts/update_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def get_pr():
"""
file = open_drop_file()
target_pr_id = file["pr_ref"]
print(f"LOG: {target_pr_id}")
try:
repo = GH.get_repo("terraform-demo-jamfpro-v2")
pr = repo.get_pull(target_pr_id)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/demo_1_plan_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
run: |
cat << EOF > outputs.json
{
"pr_ref": "${{ github.event.pull_request.id }}",
"pr_ref": "${{ github.event.pull_request.number }}",
"status": "${{ steps.terraform-plan.outputs.status }}",
"run_id": "${{ steps.terraform-plan.outputs.run_id }}",
"run_status": "${{ steps.terraform-plan.outputs.run_status }}",
Expand Down

0 comments on commit 609521b

Please sign in to comment.