From aa43e61253720c16ab067c868d57c9e30fa25652 Mon Sep 17 00:00:00 2001 From: Naka Masato Date: Sun, 26 May 2024 20:31:51 +0900 Subject: [PATCH 1/2] Update context.yml --- .github/workflows/context.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/context.yml b/.github/workflows/context.yml index d9c0afc85..4185745b1 100644 --- a/.github/workflows/context.yml +++ b/.github/workflows/context.yml @@ -31,6 +31,11 @@ jobs: echo "- github.event.pull_request.head.ref : $PR_HEAD_REF" } >> "$GITHUB_STEP_SUMMARY" + - name: branch name + run: | + branch=${{ github.head_ref || github.ref_name }} + echo "$branch" + label: runs-on: ubuntu-latest env: From 839c7d783599335ab34a6ab0819ba2a83a4ee33d Mon Sep 17 00:00:00 2001 From: Naka Masato Date: Sun, 26 May 2024 20:32:47 +0900 Subject: [PATCH 2/2] Update context.yml --- .github/workflows/context.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/context.yml b/.github/workflows/context.yml index 4185745b1..748752899 100644 --- a/.github/workflows/context.yml +++ b/.github/workflows/context.yml @@ -33,7 +33,7 @@ jobs: - name: branch name run: | - branch=${{ github.head_ref || github.ref_name }} + branch="${{ github.head_ref || github.ref_name }}" echo "$branch" label: