Skip to content

Commit 0838bd4

Browse files
author
khanh.nguyen
committed
Fixed CHANGELOG.md and added pull request template
1 parent 8a927b8 commit 0838bd4

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

.github/pull_request_template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Description
2+
3+
Add a short description of the change. If this is related to an issue, please add a reference to the issue.
4+
5+
## CHANGELOG
6+
7+
* [CHANGED] Describe your change here. Look at CHANGELOG.md to see the format.

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,8 @@ jobs:
4444
echo "VERSION=$NEW_VERSION" >> $GITHUB_ENV
4545
- name: Checkout code
4646
uses: actions/checkout@v2
47-
- name: Checkout PR
48-
env:
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
run: |
51-
gh pr checkout ${{ github.event.pull_request.number }}
52-
git config user.email "[email protected]"
53-
git config user.name "MessageBird CI"
47+
with:
48+
ref: ${{ github.head_ref }}
5449
- name: Prepare CHANGELOG
5550
run: |
5651
echo "${{ github.event.pull_request.body }}" | csplit -s - "/##/"
@@ -65,6 +60,8 @@ jobs:
6560
sed -i "s|STRING = '[^']*'|STRING = '${{ env.VERSION }}'|" messagebird/version.py
6661
- name: Commit changes
6762
run: |
63+
git config --global user.email "[email protected]"
64+
git config --global user.name "MessageBird CI"
6865
git add CHANGELOG.md messagebird/version.py
6966
git commit -m "Bump to version ${{ env.VERSION }}"
7067
- name: Push

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
# Changelog
2+
3+
## 2.0.0
4+
5+
* [FIXED] Encoding issue when JSON is serialized.
6+
* [ADDED] Voice recording deletion API.
7+
* [ADDED] Verify create email.
8+
* [CHANGED] Drop python 2 support.

0 commit comments

Comments
 (0)