Skip to content

Commit

Permalink
Simplifying github script
Browse files Browse the repository at this point in the history
  • Loading branch information
stemaMSFT committed Oct 31, 2023
1 parent 381d1b0 commit 62e6179
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,16 @@ jobs:

# Add a comment to pull requests with plan results
- uses: actions/github-script@v6
# if: github.event_name == 'pull_request'
id: comment
with:
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'test'
body: '👋 Thanks for reporting!'
})
# id: comment
# if: github.event_name == 'pull_request'
# env:
# PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
# with:
Expand Down

0 comments on commit 62e6179

Please sign in to comment.