Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/commentOnNativeFileChanged.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Comment on native files changed

on:
pull_request:
branches:
- 'main'
paths:
- '**.kt'
- '**.java'
- '**.swift'
- '**.mm'
- '**.h'
- '**.cpp'
- 'AndroidManifest.xml'
- 'project.pbxproj'

jobs:
commentOnNativeFilesChanged:
name: Create comment
runs-on: ubuntu-latest
steps:
- name: Comment
run: |
gh pr comment ${{ github.event.number }} --body \
":warning: This PR is possibly changing native code. It may cause problems in Hybrid App. Please ask Hybrid App team to review those changes in the Slack open-source channel. The C+ can help you with that. :warning:"
env:
GITHUB_TOKEN: ${{ github.token }}