File tree Expand file tree Collapse file tree 3 files changed +23
-15
lines changed Expand file tree Collapse file tree 3 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 1
1
values :
2
2
changelogAdditionalArgs :
3
3
- --tag-skip=3.23.0
4
+
5
+ disabled :
6
+ - changelogCreateRelease
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: Changelog Generator
3
3
on :
4
4
schedule :
5
5
- cron : 0 0 * * 1,4
6
- push :
7
- tags :
8
- - ' *.*.* '
6
+ repository_dispatch :
7
+ types :
8
+ - changelog
9
9
10
10
jobs :
11
11
changelog :
14
14
timeout-minutes : 30
15
15
16
16
steps :
17
- - uses : actions/checkout@v4
18
- if : github.event_name == 'push' && github.ref_type == 'tag'
19
- - name : Create release
20
- run : |-
21
- if [[ ${{ github.ref_name }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
22
- gh release create ${{ github.ref_name }} --generate-notes || true
23
- fi
24
- if : github.event_name == 'push' && github.ref_type == 'tag'
25
- env :
26
- GH_TOKEN : ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
27
-
28
17
- name : Get Date
29
18
id : get-date
30
19
run : echo "date=$(/bin/date -u "+%Y%m%d%H%M%S")" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 12
12
permissions :
13
13
packages : write
14
14
15
+ actions : write
16
+ contents : write
17
+
15
18
env :
16
19
HAS_SECRETS : ${{ secrets.HAS_SECRETS }}
17
20
18
21
jobs :
19
- build :
22
+ main :
20
23
runs-on : ubuntu-22.04
21
24
timeout-minutes : 30
22
25
name : Continuous integration
@@ -226,3 +229,16 @@ jobs:
226
229
cd ${GITHUB_WORKSPACE}/mapfish-print-doc
227
230
git push origin gh-pages
228
231
if : github.ref == 'refs/heads/master' && env.HAS_SECRETS == 'HAS_SECRETS'
232
+
233
+ - name : Trigger changelog workflow
234
+ uses : actions/github-script@v6
235
+ with :
236
+ script : |-
237
+ if (process.env.GITHUB_REF_TYPE == 'tag') {
238
+ console.log('Trigger changelog');
239
+ await github.rest.repos.createDispatchEvent({
240
+ owner: 'camptocamp',
241
+ repo: 'helm-mutualize',
242
+ event_type: 'changelog',
243
+ });
244
+ }
You can’t perform that action at this time.
0 commit comments