Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .github/workflows/check_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
id: check
env:
GH_TOKEN: ${{ github.token }}
PARENT_WORKFLOW: ${{ inputs.parent-workflow }}
run: |
set -ex
case "${GITHUB_EVENT_NAME}" in
Expand All @@ -71,7 +72,7 @@ jobs:
git diff --stat origin/${GITHUB_BASE_REF}..
if git diff --stat origin/${GITHUB_BASE_REF}.. | \
grep \
--fixed-strings ".github/workflows/${{ inputs.parent-workflow }}.yml" \
--fixed-strings ".github/workflows/${PARENT_WORKFLOW}.yml" \
--quiet; then
echo "force=true" >> "${GITHUB_OUTPUT}"
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }}
run: |
archery --debug trigger-bot \
--event-name ${{ github.event_name }} \
--event-payload ${{ github.event_path }}
--event-name "${GITHUB_EVENT_NAME}" \
--event-payload "${GITHUB_EVENT_PATH}"
issue_assign:
name: "Assign issue"
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/cpp_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,18 @@ jobs:
restore-keys: cpp-ccache-windows-${{ inputs.arch }}-
- name: Build
shell: cmd
env:
VCVARS_ARCH: ${{ inputs.arch }}
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ inputs.arch }}
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_ARCH%
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
- name: Test
shell: cmd
env:
VCVARS_ARCH: ${{ inputs.arch }}
MSYS2_LOCATION: ${{ steps.setup-msys2.outputs.msys2-location }}
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ inputs.arch }}
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_ARCH%
# For ORC
set TZDIR=${{ steps.setup-msys2.outputs.msys2-location }}\usr\share\zoneinfo
set TZDIR=%MSYS2_LOCATION%\usr\share\zoneinfo
bash -c "ci/scripts/cpp_test.sh $(pwd) $(pwd)/build"
3 changes: 2 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,11 @@ jobs:
env:
ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
run: |
source ci/scripts/util_enable_core_dumps.sh
archery docker run \
-e ARCHERY_DEFAULT_BRANCH=${{ github.event.repository.default_branch }} \
-e ARCHERY_DEFAULT_BRANCH="${DEFAULT_BRANCH}" \
-e ARCHERY_INTEGRATION_WITH_DOTNET=1 \
-e ARCHERY_INTEGRATION_WITH_GO=1 \
-e ARCHERY_INTEGRATION_WITH_JAVA=1 \
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/pr_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,18 @@ jobs:
- name: Handle PR workflow event
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_REVIEW_PATH: ${{ steps.extract.outputs.pr_review_path }}
COMMITTERS_PATH: ${{ steps.committers.outputs.committers_path }}
run: |
if [ "${GITHUB_EVENT_NAME}" = "workflow_run" ]; then
# workflow_run is executed on PR review. Update to original event.
archery trigger-bot \
--event-name "pull_request_review" \
--event-payload "${{ steps.extract.outputs.pr_review_path }}" \
--committers-file "${{ steps.committers.outputs.committers_path }}"
--event-payload "${PR_REVIEW_PATH}" \
--committers-file "${COMMITTERS_PATH}"
else
archery trigger-bot \
--event-name "${{ github.event_name }}" \
--event-payload "${{ github.event_path }}" \
--committers-file "${{ steps.committers.outputs.committers_path }}"
--event-name "${GITHUB_EVENT_NAME}" \
--event-payload "${GITHUB_EVENT_PATH}" \
--committers-file "${COMMITTERS_PATH}"
fi
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,10 @@ jobs:
CACHE_VERSION: "2025-09-16.1"
- name: Build Arrow C++ and PyArrow
shell: cmd
env:
USR_WINDOWS_DIR: ${{ steps.path-info.outputs.usr-windows-dir }}
run: |
call "ci\scripts\python_build.bat" %cd% "${{ steps.path-info.outputs.usr-windows-dir }}"
call "ci\scripts\python_build.bat" %cd% "%USR_WINDOWS_DIR%"
- name: Test PyArrow
shell: cmd
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/verify_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ jobs:
id: detect
env:
GH_TOKEN: ${{ github.token }}
RC_TAG: ${{ inputs.rc_tag }}
run: |
case "${GITHUB_EVENT_NAME}" in
workflow_dispatch)
tag="${{ inputs.rc_tag }}"
tag="${RC_TAG}"
;;
pull_request)
tag="$(gh release list \
Expand Down
Loading