File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed
Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 6666 with :
6767 sarif_file : " govulncheck.sarif"
6868 category : " govulncheck"
69+
70+ release-please :
71+ name : Prepare release
72+ runs-on : ubuntu-latest
73+ if : github.ref == 'refs/heads/main'
74+ steps :
75+ - name : Checkout code
76+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
77+ with :
78+ fetch-depth : 0
79+ fetch-tags : true
80+
81+ - name : Create GitHub App token
82+ id : app-token
83+ uses : actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
84+ with :
85+ app-id : ${{ secrets.SUMUP_BOT_APP_ID }}
86+ private-key : ${{ secrets.SUMUP_BOT_PRIVATE_KEY }}
87+
88+ - uses : googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
89+ with :
90+ token : ${{ steps.app-token.outputs.token }}
91+ target-branch : ${{ github.ref_name }}
92+ skip-github-pull-request : " ${{ startsWith(github.event.head_commit.message, 'release: ') }}"
Original file line number Diff line number Diff line change 1+ {
2+ "." : " 0.1.0"
3+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" ,
3+ "bump-minor-pre-major" : true ,
4+ "bump-patch-for-minor-pre-major" : false ,
5+ "draft" : true ,
6+ "extra-label" : " release" ,
7+ "include-component-in-tag" : false ,
8+ "include-v-in-tag" : true ,
9+ "pull-request-header" : " Automated sumup-cli release" ,
10+ "pull-request-title-pattern" : " release: ${version}" ,
11+ "release-type" : " go" ,
12+ "versioning" : " prerelease" ,
13+ "packages" : {
14+ "." : {}
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments