File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Call update changelog
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : " Target version; leave empty to auto bump"
8+ required : false
9+ type : string
10+ name :
11+ description : " Maintainer name used in debian/changelog"
12+ required : true
13+ type : string
14+ email :
15+ description : " Maintainer email used in debian/changelog"
16+ required : true
17+ type : string
18+ base_branch :
19+ description : " Base branch to read and target"
20+ required : false
21+ default : master
22+ type : string
23+ distribution :
24+ description : " Changelog distribution"
25+ required : false
26+ default : unstable
27+ type : string
28+ create_pr :
29+ description : " Create a pull request after generating changelog"
30+ required : false
31+ default : true
32+ type : boolean
33+
34+ jobs :
35+ update_changelog :
36+ uses : linuxdeepin/.github/.github/workflows/update-changelog.yml@master
37+ with :
38+ version : ${{ inputs.version }}
39+ name : ${{ inputs.name }}
40+ email : ${{ inputs.email }}
41+ base_branch : ${{ inputs.base_branch }}
42+ distribution : ${{ inputs.distribution }}
43+ create_pr : ${{ inputs.create_pr }}
44+ secrets : inherit
45+
46+ show_result :
47+ runs-on : ubuntu-latest
48+ needs : update_changelog
49+ steps :
50+ - name : Show update changelog result
51+ run : |
52+ echo "Version: ${{ needs.update_changelog.outputs.version }}"
53+ echo "Pull Request URL: ${{ needs.update_changelog.outputs.pr_url }}"
You can’t perform that action at this time.
0 commit comments