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:
3131 # - title: "🧰 Maintenance"
3232 # - title: "⚠️ Deprecations"
3333 # - title: "✨ New Features"
34+ exclude-labels :
35+ - " skip changelog"
3436change-template : " - $TITLE (#$NUMBER) by @$AUTHOR"
3537template : |
3638 $CHANGES
Original file line number Diff line number Diff line change 2424 - if : ${{ github.event.inputs != null && github.event.inputs.version != null }}
2525 name : set-input-version
2626 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'
2729 - name : set-github-token
2830 run : echo "::set-env name=GITHUB_TOKEN::${{ secrets.GITHUB_TOKEN }}"
2931 - if : ${{ env.GITHUB_TOKEN && env.VERSION }}
8890 pr_body : " Automated pull request for release version ${{ env.VERSION }}"
8991 pr_draft : false
9092 pr_allow_empty : true
93+ pr_label : " skip changelog"
9194 # only works if it exist: pr_milestone: v${{ env.VERSION }}
9295 github_token : ${{ secrets.GITHUB_TOKEN }}
9396 # Fix of release drafter to allow different events to trigger the release
You can’t perform that action at this time.
0 commit comments