File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ categories:
31
31
# - title: "🧰 Maintenance"
32
32
# - title: "⚠️ Deprecations"
33
33
# - title: "✨ New Features"
34
+ exclude-labels :
35
+ - " skip changelog"
34
36
change-template : " - $TITLE (#$NUMBER) by @$AUTHOR"
35
37
template : |
36
38
$CHANGES
Original file line number Diff line number Diff line change 24
24
- if : ${{ github.event.inputs != null && github.event.inputs.version != null }}
25
25
name : set-input-version
26
26
run : echo "::set-env name=VERSION::${{ github.event.inputs.version }}"
27
+ - name : check-version
28
+ run : ' if [[ ! "${{ env.VERSION }}" =~ ^([0-9]+\.[0-9]+\.[0-9]+.*)$ ]]; then echo "The version is not valid: ${{ env.VERSION }}"; exit 1; fi'
27
29
- name : set-github-token
28
30
run : echo "::set-env name=GITHUB_TOKEN::${{ secrets.GITHUB_TOKEN }}"
29
31
- if : ${{ env.GITHUB_TOKEN && env.VERSION }}
88
90
pr_body : " Automated pull request for release version ${{ env.VERSION }}"
89
91
pr_draft : false
90
92
pr_allow_empty : true
93
+ pr_label : " skip changelog"
91
94
# only works if it exist: pr_milestone: v${{ env.VERSION }}
92
95
github_token : ${{ secrets.GITHUB_TOKEN }}
93
96
# Fix of release drafter to allow different events to trigger the release
You can’t perform that action at this time.
0 commit comments