Skip to content

Commit 66e2357

Browse files
committed
Use git rev-list directly to find base commit
1 parent 898dabb commit 66e2357

File tree

4 files changed

+2
-46
lines changed

4 files changed

+2
-46
lines changed

.github/workflows/libevm-delta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Find base commit hash
2020
id: base-commit
21-
run: echo "LIBEVM_BASE=$(.github/workflows/scripts/base-commit.sh)" >> "$GITHUB_OUTPUT"
21+
run: echo "LIBEVM_BASE=$(git rev-list --author "github-actions\[bot\]" --grep "\[AUTO\] rename Go module + update internal import paths" -n 1 origin/main)" >> "$GITHUB_OUTPUT"
2222

2323
- name: Color-blindness a11y
2424
run:

.github/workflows/rename-module.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
env:
7272
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
7373
with:
74+
# WARNING: mirror any change to the commit_message value below in libevm-delta.yml
7475
commit_message: "[AUTO] rename Go module + update internal import paths\n\nWorkflow: ${{ steps.vars.outputs.WORKFLOW_HASH }} on branch ${{ github.ref_name }}"
7576
repo: ${{ github.repository }}
7677
branch: ${{ steps.vars.outputs.DEST_BRANCH }}

.github/workflows/scripts/base-commit.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/scripts/geth-commit.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)