File tree Expand file tree Collapse file tree 4 files changed +77
-0
lines changed
Expand file tree Collapse file tree 4 files changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ change :
2+ - head-branch : ['^change/']
3+
4+ enhancement :
5+ - head-branch : ['^feature/', '^feat/', '^enhancement/', '^enh/']
6+
7+ bug :
8+ - head-branch : ['^fix/', '^bug/']
9+
10+ chore :
11+ - head-branch : ['^chore/']
12+
13+ documentation :
14+ - head-branch : ['^docs/', '^doc/']
15+ - changed-files : ' **/*.md'
16+
17+ dependencies :
18+ - head-branch : ['^deps/', '^dep/', '^dependabot/']
19+ - changed-files : ['go.mod', 'go.sum']
Original file line number Diff line number Diff line change 1+ changelog :
2+ exclude :
3+ labels :
4+ - skip-changelog
5+ categories :
6+ - title : 🚀 Features
7+ labels :
8+ - enhancement
9+ - title : 💣 Breaking Changes
10+ labels :
11+ - change
12+ - title : 🐛 Bug Fixes
13+ labels :
14+ - bug
15+ - title : 📝 Documentation
16+ labels :
17+ - documentation
18+ - title : 🔨 Maintenance
19+ labels :
20+ - chore
21+ - title : ⬆️ Dependencies
22+ labels :
23+ - dependencies
24+ - title : Other Changes
25+ labels :
26+ - " *"
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ tags :
8+ - " v[0-9]+.[0-9]+.[0-9]+*"
79 pull_request :
810 branches :
911 - main
1820 - name : Checkout Repository
1921 uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2022
23+ - name : Get Alpine version
24+ id : alpine
25+ run : echo "version=$(grep -m1 'FROM alpine' <Dockerfile | awk -F'[:]' '{print $2}')" >> $GITHUB_OUTPUT
26+
2127 - name : Docker Buildx
2228 uses : docker/setup-buildx-action@ecf95283f03858871ff00b787d79c419715afc34 # v2.7.0
2329
4652 type=ref,event=pr
4753 type=semver,pattern={{version}}
4854 type=semver,pattern={{major}}.{{minor}}
55+ type=semver,pattern={{version}},suffix=-alpine${{ steps.alpine.outputs.version }}
4956
5057 - name : Build Docker image
5158 uses : docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
7683 uses : github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
7784 with :
7885 sarif_file : ${{ steps.scan.outputs.sarif }}
86+
87+ - name : Create/Update Draft
88+ uses : lucacome/draft-release@b79be3ff634f771230b2b6ee9f47308c5793671a # v0.2.0
89+ with :
90+ minor-label : " enhancement"
91+ major-label : " change"
92+ publish : ${{ startsWith(github.ref, 'refs/tags/') }}
93+ collapse-after : 20
Original file line number Diff line number Diff line change 1+ name : " Pull Request Labeler"
2+ on :
3+ - pull_request_target
4+
5+ permissions :
6+ contents : read
7+
8+ jobs :
9+ triage :
10+ permissions :
11+ contents : read
12+ pull-requests : write
13+ runs-on : ubuntu-22.04
14+ steps :
15+ - uses : actions/labeler@4f052778de9a9b80cb16cfb9079b02287285a4cb # v5.0.0-alpha.1
16+ with :
17+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments