From 1f941ae04301a2e05f9baf36e1ea68ed69bee461 Mon Sep 17 00:00:00 2001 From: Tao Li Date: Sun, 10 Dec 2023 22:08:48 +0800 Subject: [PATCH] test: test workflow, will rollback Signed-off-by: Tao Li --- .github/workflows/continuous-delivery.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 8273d342d9..492ab433c9 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -241,7 +241,7 @@ jobs: if: | always() && !cancelled() && needs.evaluate_options.result == 'success' - runs-on: ubuntu-22.04 + runs-on: 4c-16gb-150gb permissions: contents: read packages: write @@ -295,6 +295,8 @@ jobs: author_name=$(git show -s --format='%an' "${commit_sha}") author_email=$(git show -s --format='%ae' "${commit_sha}") + gh pr view "${{ github.event.issue.number }}" --json headRefName -q '.headRefName' + # extract branch name if [[ ${{ github.event_name }} == 'workflow_dispatch' ]] || [[ ${{ github.event_name }} == 'schedule' ]] then