From 8646a54b197b19a6c5d80578c7e56a5b681f8df1 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 28 Aug 2021 03:48:40 +0900 Subject: [PATCH] .github/workflows: Refactoring --- .github/workflows/sourcehutbuild.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sourcehutbuild.yml b/.github/workflows/sourcehutbuild.yml index b8eee64e3..a994f50bb 100644 --- a/.github/workflows/sourcehutbuild.yml +++ b/.github/workflows/sourcehutbuild.yml @@ -26,6 +26,6 @@ jobs: - name: Run run: | go run .github/workflows/sourcehutbuild.go \ - -commit ${{ github.event.head_commit.id }} \ + -commit $GITHUB_SHA \ -manifest .github/workflows/sourcehutmanifests/${{ matrix.os }}.yml \ - -note '${{ format('{0} ({1})', github.event.head_commit.id, matrix.os) }}' + -note "$GITHUB_SHA (${{ matrix.os }})"