Ma77Ball commented on code in PR #4278:
URL: https://github.com/apache/texera/pull/4278#discussion_r2914675668
##########
.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 noticed that in the build and replaced it.
--
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]