Skip to content

Commit

Permalink
Fix the example of how to comment on pull request. (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
acarmel committed Oct 12, 2022
1 parent a549f5e commit 98db142
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -87,6 +87,8 @@ Outputs can be used in subsequent steps to comment on the pull request:
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
Expand Down Expand Up @@ -153,6 +155,8 @@ Instead of creating a new comment each time, you can also update an existing one
defaults:
run:
working-directory: ${{ env.tf_actions_working_dir }}
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
Expand Down

0 comments on commit 98db142

Please sign in to comment.