Skip to content

Commit 2268b62

Browse files
authored
Merge pull request #4 from rwells489/welcome-workflow
Welcome workflow
2 parents 0ede087 + 434b944 commit 2268b62

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/welcome.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Post welcome comment
2+
on:
3+
pull_request:
4+
types: [opened]
5+
permissions:
6+
pull-requests: write
7+
jobs:
8+
welcome:
9+
name: Post welcome comment
10+
runs-on: ubuntu-latest
11+
steps:
12+
- run: gh pr comment "$PR_URL" --body "Welcome to the repository!"
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
PR_URL: ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)