Ma77Ball commented on code in PR #4278:
URL: https://github.com/apache/texera/pull/4278#discussion_r2914847944


##########
.github/workflows/github-action-build.yml:
##########
@@ -26,14 +26,39 @@ on:
       - 'ci-enable/**'
       - 'main'
   pull_request:
+    types: [opened, synchronize, reopened]
   workflow_dispatch:
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}
   cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
 
 jobs:
+  check-permissions:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Check if PR is from a fork
+        id: check_fork
+        run: |
+          if [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ 
github.repository }}" ]; then
+            echo "is_fork=true" >> $GITHUB_OUTPUT

Review Comment:
   Sounds good, I removed the fork check and just added a new workflow edit 
check.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to