Skip to content

Commit

Permalink
Use git rev-list directly to find base commit
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jan 13, 2025
1 parent 898dabb commit 66e2357
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/libevm-delta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Find base commit hash
id: base-commit
run: echo "LIBEVM_BASE=$(.github/workflows/scripts/base-commit.sh)" >> "$GITHUB_OUTPUT"
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"

- name: Color-blindness a11y
run:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rename-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
# WARNING: mirror any change to the commit_message value below in libevm-delta.yml
commit_message: "[AUTO] rename Go module + update internal import paths\n\nWorkflow: ${{ steps.vars.outputs.WORKFLOW_HASH }} on branch ${{ github.ref_name }}"
repo: ${{ github.repository }}
branch: ${{ steps.vars.outputs.DEST_BRANCH }}
19 changes: 0 additions & 19 deletions .github/workflows/scripts/base-commit.sh

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/scripts/geth-commit.sh

This file was deleted.

0 comments on commit 66e2357

Please sign in to comment.