File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Rebuild changelog
2
2
3
3
on :
4
- # Once a week or on release published
4
+ # manually
5
+ workflow_dispatch :
6
+
7
+ # on release published
5
8
release :
6
9
types : [published]
10
+
11
+ # nightly
7
12
schedule :
8
- - cron : " 0 3 * * 0 "
13
+ - cron : " 0 3 * * * "
9
14
10
15
jobs :
11
16
rebuild-changelog :
14
19
steps :
15
20
- uses : actions/checkout@v3
16
21
with :
17
- fetch-depth : 0
22
+ # don't checkout a detached HEAD, is important to have a real base
23
+ # branch when creating a PR
24
+ ref : ${{ github.head_ref }}
25
+
26
+ # this is important so git log can pick up on
27
+ # the whole history to generate the CHANGELOG
28
+ fetch-depth : ' 0'
29
+
18
30
- name : Set up Git
19
31
run : |
20
32
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments