diff --git a/.github/workflows/package-pr.yaml b/.github/workflows/package-pr.yaml index b451a6b..94a2475 100644 --- a/.github/workflows/package-pr.yaml +++ b/.github/workflows/package-pr.yaml @@ -27,7 +27,7 @@ jobs: - name: Build Packages run: | - SHALIST=$(curl "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls/$(jq -r '.pull_request.number' $GITHUB_EVENT_PATH)"/commits | jq '.[].commit.tree.sha' -r) + SHALIST=$(git rev-parse HEAD) echo "Commits: $SHALIST" git log docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --ci $SHALIST