mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Update build-and-push.yml
This commit is contained in:
parent
1d4a2ed39b
commit
0aab74151f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-and-push.yml
vendored
2
.github/workflows/build-and-push.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Fetch PR number
|
||||
id: get-pr
|
||||
run: |
|
||||
PR_NUMBER=$(gh pr list --state merged --base main --json number --jq '.[0].number' || echo "")
|
||||
PR_NUMBER=$(gh pr list --state merged --base main --search $(git rev-parse HEAD) --json number --jq '.[0].number' || echo "")
|
||||
echo "PR_NUMBER=${PR_NUMBER}" >> $GITHUB_ENV
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue