Skip to content

Commit 1a2ece2

Browse files
authored
chore: remove mergify from release notes (#1783)
1 parent fc594de commit 1a2ece2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release_notes.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ jobs:
2929
steps:
3030
- name: Update notes
3131
run: |
32-
NEW_NOTES=$(gh api --method POST -H "Accept: application/vnd.github+json" /repos/frappe/hrms/releases/generate-notes -f tag_name=$RELEASE_TAG | jq -r '.body' | sed -E '/^\* (chore|ci|test|docs|style)/d' )
32+
NEW_NOTES=$(gh api --method POST -H "Accept: application/vnd.github+json" /repos/frappe/hrms/releases/generate-notes -f tag_name=$RELEASE_TAG \
33+
| jq -r '.body' \
34+
| sed -E '/^\* (chore|ci|test|docs|style)/d' \
35+
| sed -E 's/by @mergify //'
36+
)
3337
RELEASE_ID=$(gh api -H "Accept: application/vnd.github+json" /repos/frappe/hrms/releases/tags/$RELEASE_TAG | jq -r '.id')
3438
gh api --method PATCH -H "Accept: application/vnd.github+json" /repos/frappe/hrms/releases/$RELEASE_ID -f body="$NEW_NOTES"
3539

0 commit comments

Comments
 (0)