File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Changelog
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : New changelog version
8+ type : string
9+ required : true
10+ default : " "
11+ distro :
12+ description : Changelog distro
13+ type : string
14+ required : true
15+ default : " "
16+
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
21+ jobs :
22+ update :
23+ runs-on : ubuntu-24.04
24+ container : " ghcr.io/regolith-linux/ci-ubuntu:noble-amd64"
25+ steps :
26+ - name : Checkout
27+ uses : actions/checkout@v4
28+
29+ - name : Update Changelog
30+ run : gbp dch --force-distribution --distribution "${{ inputs.distro }}" -N "${{ inputs.version }}" --debian-branch="${{ github.ref_name }}"
31+
32+ - name : Push Changes
33+ uses : stefanzweifel/git-auto-commit-action@v5
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.ORG_BROADCAST_TOKEN2 }}
36+ with :
37+ file_pattern : " debian/changelog"
38+ commit_message : " chore: bump changelog version to ${{ inputs.version }}"
39+ commit_user_name : regolith-ci-bot
40+ commit_user_email : bot@regolith-desktop.com
41+ commit_author : " regolith-ci-bot <bot@regolith-desktop.com>"
You can’t perform that action at this time.
0 commit comments