Skip to content

Commit

Permalink
Merge pull request #54357 from software-mansion-labs/comment-on-nativ…
Browse files Browse the repository at this point in the history
…e-files-changed
  • Loading branch information
dangrous authored Jan 13, 2025
2 parents 67917bc + 085df1f commit eca6fa9
Showing 1 changed file with 27 additions and 0 deletions.
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 }}

0 comments on commit eca6fa9

Please sign in to comment.