Bump hashicorp/tfc-workflows-github from 1.0.0 to 1.2.0 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Your Fork | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
close: | |
if: github.repository == 'hashicorp-education/learn-terraform-github-actions' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: superbrothers/close-pull-request@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Optional. Post a issue comment just before closing a pull request. | |
comment: "Hi! If you are following the Terraform GitHub Actions tutorial, please open the PR against [your personal fork](https://learn.hashicorp.com/tutorials/terraform/github-actions?in=terraform/automation#set-up-a-github-repository) of this repository. We will automatically close this PR, but if you intended to edit the example itself please feel free to re-open it." |