Update readme using github-script@v5 (#135)

This commit is contained in:
Ken Kaizu 2022-03-04 09:36:33 +09:00 committed by GitHub
parent 625cb76050
commit b11809b830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ steps:
run: terraform plan -no-color
continue-on-error: true
- uses: actions/github-script@0.9.0
- uses: actions/github-script@v5
if: github.event_name == 'pull_request'
env:
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
@ -128,7 +128,7 @@ steps:
*Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`;
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,