From c5016dbd8832d3efdf46c5da45ff59e49e947230 Mon Sep 17 00:00:00 2001 From: SakodaShintaro Date: Fri, 9 Aug 2024 14:12:23 +0900 Subject: [PATCH] fix: fixed target from ref to sha (#63) * Fixed from ref to sha Signed-off-by: Shintaro Sakoda * Fixed from ref to sha Signed-off-by: Shintaro Sakoda --------- Signed-off-by: Shintaro Sakoda --- .github/workflows/pre-commit.yml | 2 +- .github/workflows/regression_test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index d3228bf2..ef4c1bae 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,7 +13,7 @@ jobs: - name: Check out repository uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.ref }} + ref: ${{ github.event.pull_request.head.sha }} - name: Run pre-commit uses: autowarefoundation/autoware-github-actions/pre-commit@v1 diff --git a/.github/workflows/regression_test.yml b/.github/workflows/regression_test.yml index e1d5e74e..9f9a484e 100644 --- a/.github/workflows/regression_test.yml +++ b/.github/workflows/regression_test.yml @@ -17,7 +17,7 @@ jobs: - name: Check out repository uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.ref }} + ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: |