Commit a6963d1 1 parent 01933d7 commit a6963d1 Copy full SHA for a6963d1
File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
13
13
- name : Check out code
14
14
uses : actions/checkout@v2
15
15
16
- - name : Configure Git user as baseten-bot
16
+ - name : Configure Git user as basetenbot
17
17
run : |
18
- git config user.name "baseten-bot "
19
- git config user.email "baseten-bot@baseten.co "
18
+ git config user.name "basetenbot "
19
+ git config user.email "96544894+basetenbot@users.noreply.github.com "
20
20
21
21
- name : Fetch all branches
22
22
run : |
Original file line number Diff line number Diff line change 28
28
29
29
- name : Commit changes
30
30
run : |
31
- git config --local user.email "baseten-bot@baseten.co "
32
- git config --local user.name "baseten-bot "
31
+ git config --local user.email "96544894+basetenbot@users.noreply.github.com "
32
+ git config --local user.name "basetenbot "
33
33
git add pyproject.toml
34
34
git commit -m "Bump version to $INPUT_VERSION"
35
35
env :
44
44
45
45
- name : Make PR
46
46
run : |
47
- PR_URL=gh pr create --base release --head refs/heads/bump-version-$INPUT_VERSION --title "Release $INPUT_VERSION"
47
+ CURR_VERSION=$(curl https://pypi.org/pypi/truss/json | jq ".info.version")
48
+ PR_BODY="Updating Truss from [$CURR_VERSION](https://pypi.org/pypi/truss/json) to $INPUT_VERSION."
49
+ PR_URL=$(gh pr create --base release --head refs/heads/bump-version-$INPUT_VERSION --title "Release $INPUT_VERSION" --body "$PR_BODY")
48
50
gh pr merge $PR_URL --auto --merge
49
51
env :
50
52
INPUT_VERSION : ${{ github.event.inputs.version }}
53
+ GH_TOKEN : ${{ secrets.BASETENBOT_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments