Skip to content

Commit f90cc3b

Browse files
authored
Merge pull request #829 from armsnyder/workflow-pr-target-opened
Workflows: First interaction messsage on PRs
2 parents 1455db0 + 6621ba3 commit f90cc3b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# GitHub Action reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
2+
#
3+
# Automation for pull requests being opened that requires "write" access.
4+
5+
name: pr-target-opened
6+
7+
on:
8+
pull_request_target:
9+
types: [opened]
10+
11+
permissions:
12+
pull-requests: write
13+
14+
jobs:
15+
comment:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/first-interaction@v1
19+
with:
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
pr-message: |
22+
Welcome @${{github.actor}} :wave:
23+
24+
It looks like this is your first submission to the [Terraform GitLab Provider](https://github.com/${{ github.repository }})! If you haven’t already done so, please make sure you have checked out our [CONTRIBUTING.md guide](https://github.com/${{ github.repository }}/blob/${{ github.event.repository.default_branch }}/CONTRIBUTING.md) to make sure your contribution has all the necessary elements in place for a successful approval.
25+
26+
Thanks again, and welcome to the community! :smiley:

0 commit comments

Comments
 (0)