From ff61c1c65567e46d102be87705a0de1a9c8ba861 Mon Sep 17 00:00:00 2001 From: Hyunsu Cho Date: Sat, 7 Dec 2024 20:44:04 -0800 Subject: [PATCH 1/2] Modify run description for workflow_trigger --- .github/workflows/containers.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 51693ea..63ae8a8 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -1,5 +1,4 @@ name: Build and publish image -run-name: "Build image${{ (inputs.upstream_repository != '') && format(' - triggered by: {0}', inputs.upstream_repository) || '' }}" on: workflow_dispatch: @@ -55,6 +54,9 @@ jobs: - container_id: xgb-ci.manylinux2014_aarch64 runner: linux-arm64-cpu steps: + - run: | + echo "Triggered by repo ${{ inputs.upstream_repository }}, job ${{ inputs.upstream_job }}" + if: inputs.upstream_repository != '' && inputs.upstream_job != '' # Restart Docker daemon so that it recognizes the ephemeral disks - run: sudo systemctl restart docker - uses: actions/checkout@v4 From 88c4cd09a0483d2f2520f640a2b6b9a45b98d353 Mon Sep 17 00:00:00 2001 From: Hyunsu Cho Date: Sat, 7 Dec 2024 21:14:13 -0800 Subject: [PATCH 2/2] Add description --- .github/workflows/containers.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 63ae8a8..5af2a71 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -54,7 +54,8 @@ jobs: - container_id: xgb-ci.manylinux2014_aarch64 runner: linux-arm64-cpu steps: - - run: | + - name: Workflow trigger information + run: | echo "Triggered by repo ${{ inputs.upstream_repository }}, job ${{ inputs.upstream_job }}" if: inputs.upstream_repository != '' && inputs.upstream_job != '' # Restart Docker daemon so that it recognizes the ephemeral disks