Skip to content

Bump hashicorp/tfc-workflows-github from 1.0.0 to 1.2.0 #7

Bump hashicorp/tfc-workflows-github from 1.0.0 to 1.2.0

Bump hashicorp/tfc-workflows-github from 1.0.0 to 1.2.0 #7

Workflow file for this run

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."