Yicong-Huang commented on code in PR #4278:
URL: https://github.com/apache/texera/pull/4278#discussion_r2914651876
##########
.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
+ else
+ echo "is_fork=false" >> $GITHUB_OUTPUT
+ fi
+ - name: Get changed files
+ id: changed-files
+ uses: tj-actions/changed-files@v42
Review Comment:
I don't think apache allows this kind of third party actions
--
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]