File tree 1 file changed +2
-10
lines changed 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 6
6
permissions :
7
7
contents : write
8
8
9
- env :
10
- GIT_ORIGIN : https://github.com/awslabs/aws-lambda-powertools-python
11
-
12
9
jobs :
13
10
publish_changelog :
14
11
# Force Github action to run only a single job at a time (based on the group name)
@@ -21,17 +18,12 @@ jobs:
21
18
uses : actions/checkout@v3
22
19
with :
23
20
fetch-depth : 0
24
- - name : Git client setup
21
+ - name : Git client setup and refresh tip
25
22
run : |
26
23
git config user.name "Release bot"
27
24
git config user.email "aws-devax-open-source@amazon.com"
28
25
git config pull.rebase true
29
- - name : Git references setup and refresh
30
- # `release` event trigger uses DETACHED Head instead of trunk like all other events
31
- # so we need to explicitly configure it
32
- run : |
33
- git remote add origin ${GIT_ORIGIN}
34
- git pull origin develop --rebase
26
+ git pull --rebase
35
27
- name : " Generate latest changelog"
36
28
run : make changelog
37
29
- name : Update Changelog in trunk
You can’t perform that action at this time.
0 commit comments