Skip to content

Commit b11809b

Browse files
authored
Update readme using github-script@v5 (#135)
1 parent 625cb76 commit b11809b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ steps:
106106
run: terraform plan -no-color
107107
continue-on-error: true
108108

109-
- uses: actions/github-script@0.9.0
109+
- uses: actions/github-script@v5
110110
if: github.event_name == 'pull_request'
111111
env:
112112
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
@@ -128,7 +128,7 @@ steps:
128128
129129
*Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`;
130130
131-
github.issues.createComment({
131+
github.rest.issues.createComment({
132132
issue_number: context.issue.number,
133133
owner: context.repo.owner,
134134
repo: context.repo.repo,

0 commit comments

Comments
 (0)