mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-16 08:32:34 +00:00
Update readme using github-script@v5 (#135)
This commit is contained in:
parent
625cb76050
commit
b11809b830
1 changed files with 2 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ steps:
|
||||||
run: terraform plan -no-color
|
run: terraform plan -no-color
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- uses: actions/github-script@0.9.0
|
- uses: actions/github-script@v5
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
env:
|
env:
|
||||||
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
|
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 }}\`*`;
|
*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,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue