Skip to content

Commit a153e36

Browse files
committedDec 9, 2024··
Create workflow to warn on native file changes
1 parent b9107bf commit a153e36

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Comment on native files changed
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'main'
7+
paths:
8+
- '**.kt'
9+
- '**.java'
10+
- '**.swift'
11+
- '**.mm'
12+
- '**.h'
13+
14+
jobs:
15+
commentOnNativeFilesChanged:
16+
name: Create comment
17+
run: |
18+
gh pr comment ${{ steps.getMergedPullRequest.outputs.number }} --body \
19+
":warning: This PR changes native code. It may cause problems in Hybrid App. Please notify people working on it to review those changes. :warning:"
20+
env:
21+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)
Please sign in to comment.