Initial Commit

This commit is contained in:
Daniel Mason 2023-04-22 12:37:30 +12:00
parent 8734e2952d
commit 1bb150d44e
Signed by: idanoo
GPG key ID: 387387CDBC02F132
7 changed files with 87 additions and 98 deletions

View file

@ -1,16 +0,0 @@
name: Your Fork
on:
pull_request_target:
types: [opened]
jobs:
close:
if: github.repository == 'hashicorp/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."