Skip to content

Commit 42ce97d

Browse files
authored
Merge pull request #2 from EllaOSU/welcome-workflow
Welcome workflow
2 parents 503ab28 + 3dc6f28 commit 42ce97d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.github/workflows/welcome.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 }}
16+

0 commit comments

Comments
 (0)