diff --git a/README.md b/README.md index d949c89..20ba2c2 100644 --- a/README.md +++ b/README.md @@ -80,34 +80,6 @@ steps: Outputs can be used in subsequent steps to comment on the pull request: -```yaml -steps: -- uses: hashicorp/setup-terraform@v1 - -- run: terraform init - -- id: plan - run: terraform plan -no-color - -- uses: actions/github-script@0.9.0 - if: github.event_name == 'pull_request' - env: - STDOUT: "```terraform\n${{ steps.plan.outputs.stdout }}```" - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const output = `
tf plan:\n\n${process.env.STDOUT}\n\n
`; - - github.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: output - }) -``` - -Outputs can be used in subsequent steps to comment on the pull request - ```yaml defaults: run: