File tree Expand file tree Collapse file tree 8 files changed +54
-110
lines changed Expand file tree Collapse file tree 8 files changed +54
-110
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
2+ _extends : .github
Original file line number Diff line number Diff line change 1- ---
2- # Number of days of inactivity before an issue becomes stale
3- daysUntilStale : 90
4-
5- # Number of days of inactivity before an stale issue is closed
6- daysUntilClose : 30
7-
8- # Label to use when marking an issue as stale
9- staleLabel : stale
10-
11- issues :
12- # Comment to post when marking an issue as stale.
13- markComment : >
14- This issue has been automatically marked as stale because it has not had
15- recent activity. It will be closed if no further activity occurs. Thank you
16- for your contributions.
17- # Comment to post when closing a stale issue.
18- closeComment : >
19- This issue has been automatically closed because it has not had recent
20- activity since being marked as stale.
21- pulls :
22- # Comment to post when marking a PR as stale.
23- markComment : >
24- This PR has been automatically marked as stale because it has not had
25- recent activity. It will be closed if no further activity occurs. Thank you
26- for your contributions.
27- To track this PR (even if closed), please open a corresponding issue if one
28- does not already exist.
29- # Comment to post when closing a stale PR.
30- closeComment : >
31- This PR has been automatically closed because it has not had recent
32- activity since being marked as stale.
33- Please reopen when work resumes.
1+ # Configuration for https://github.com/probot/stale
2+ _extends : .github
Original file line number Diff line number Diff line change 1+ name : release.draft
2+
3+ on :
4+ push :
5+ branches : [$default-branch]
6+ workflow_dispatch :
7+ inputs :
8+ prerelease :
9+ description : Is this a pre-release
10+ required : true
11+ default : true
12+ publish :
13+ description : Publish release
14+ required : false
15+ default : false
16+
17+ jobs :
18+ draft-a-release :
19+ runs-on : ubuntu-latest
20+ steps :
21+
22+ - uses : actions/checkout@v2
23+ with :
24+ fetch-depth : ' 0'
25+
26+ - name : check next version
27+ uses :
anothrNick/[email protected] 28+ id : tag
29+ env :
30+ DRY_RUN : true
31+ WITH_V : true
32+ DEFAULT_BUMP : patch
33+
34+ - name : release-draft
35+ uses :
release-drafter/[email protected] 36+ if : " !contains(github.event.head_commit.message, 'skip')"
37+ id : release
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40+ with :
41+ publish : ${{ github.event.inputs.publish }}
42+ prerelease : ${{ github.event.inputs.prerelease }}
43+ tag : ${{ steps.tag.outputs.new_tag }}
44+
45+ - name : check-version
46+ run : |
47+ echo "release it: ${{ github.event.inputs.prerelease }}"
48+ echo "out: ${{ steps.release.name }}"
49+ echo "tag: ${{ steps.release.outputs.tag_name }}"
Original file line number Diff line number Diff line change 1414 build :
1515 name : release new version
1616 runs-on : ubuntu-latest
17- if : " ! contains(github.event.head_commit.message, 'skip ')"
17+ if : " contains(github.event.head_commit.message, 'release ')"
1818 steps :
1919 - uses : actions/checkout@master
2020
You can’t perform that action at this time.
0 commit comments