Skip to content

Commit e64cf07

Browse files
Merge pull request #1 from elasticclouds/welcome-workflow
Welcome workflow
2 parents 0e4a36e + 3603581 commit e64cf07

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.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+
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)