File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : release-please
2+ on :
3+ push :
4+ branches :
5+ - main
6+ workflow_dispatch :
7+
8+ jobs :
9+ release-please :
10+ runs-on : ubuntu-latest
11+ timeout-minutes : 10
12+ steps :
13+ - uses : google-github-actions/release-please-action@v3
14+ id : release
15+ with :
16+ release-type : go
17+ package-name : plugin-sdk
18+ token : ${{ secrets.GH_CQ_BOT }}
19+ pull-request-title-pattern : " chore${scope}: Release${component} v${version}"
20+ - name : Parse semver string
21+ if : steps.release.outputs.release_created
22+ id : semver_parser
23+ uses : booxmedialtd/ws-action-parse-semver@7784200024d6b3fc01253e617ec0168daf603de3
24+ with :
25+ input_string : ${{ steps.release.outputs.tag_name }}
26+ - name : Mark as pre-release
27+ if : steps.semver_parser.outputs.prerelease != ''
28+ uses : tubone24/update_release@1cfa79ccf7422570d9a9c6b6de749ff4b280e48b
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31+ TAG_NAME : ${{ steps.release.outputs.tag_name }}
32+ with :
33+ prerelease : true
34+ - name : Trigger Renovate
35+ uses : actions/github-script@v6
36+ if : steps.release.outputs.release_created && steps.semver_parser.outputs.prerelease == ''
37+ with :
38+ github-token : ${{ secrets.GH_CQ_BOT }}
39+ script : |
40+ github.rest.actions.createWorkflowDispatch({
41+ owner: 'cloudquery',
42+ repo: '.github',
43+ workflow_id: 'renovate.yml',
44+ ref: 'main',
45+ })
You can’t perform that action at this time.
0 commit comments