Skip to content

Commit 7ef1ee6

Browse files
authored
Merge pull request #1 from giogio-dev/welcome-workflow
Welcome workflow
2 parents 5632a22 + 0a8f063 commit 7ef1ee6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/Welcome.yml

+15
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+
build:
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)