mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
check only merged PRs (#5)
This commit is contained in:
parent
a10867434d
commit
63b1c9826b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -105,7 +105,7 @@ jobs:
|
|||
git tag -a $NEW_TAG -m "New tag: $NEW_TAG"
|
||||
git push origin $NEW_TAG
|
||||
|
||||
PR_NUMBER=$(gh pr list --head ${{ github.ref_name }} --state open --json number --jq '.[0].number')
|
||||
PR_NUMBER=$(gh pr list --head ${{ github.ref_name }} --state merged --json number --jq '.[0].number')
|
||||
if [[ -n "$PR_NUMBER" ]]; then
|
||||
echo ":rocket: A new tag ${NEW_TAG} has been created and pushed!"
|
||||
gh pr comment $PR_NUMBER -b ":rocket: A new tag ${NEW_TAG} has been created and pushed!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue