Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No QA] Create workflow to warn on native file changes #54357

Merged
Merged
Changes from 1 commit
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
Next Next commit
Create workflow to warn on native file changes
  • Loading branch information
jnowakow committed Dec 9, 2024
commit a153e367981be0bca07d3ce94bfa1a90d685ba4f
21 changes: 21 additions & 0 deletions .github/workflows/commentOnNativeFileChanged.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Comment on native files changed

on:
pull_request:
branches:
- 'main'
paths:
- '**.kt'
- '**.java'
- '**.swift'
- '**.mm'
- '**.h'

jobs:
commentOnNativeFilesChanged:
name: Create comment
run: |
gh pr comment ${{ steps.getMergedPullRequest.outputs.number }} --body \
":warning: This PR changes native code. It may cause problems in Hybrid App. Please notify people working on it to review those changes. :warning:"
env:
GITHUB_TOKEN: ${{ github.token }}
Loading