File tree Expand file tree Collapse file tree 5 files changed +50
-0
lines changed Expand file tree Collapse file tree 5 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # Always validate the PR titles and the commits messages
2+ titleAndCommits : true
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ semantic-release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Run semantic-release
18+ if : github.repository == 'divy9881/casbin-cpp' && github.event_name == 'push'
19+ run : |
20+ export PATH="$(yarn global bin):$PATH"
21+ yarn global add semantic-release
22+ semantic-release
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ {
2+ "debug" : true ,
3+ "release" : {
4+ "branches" : [
5+ " master"
6+ ]
7+ },
8+ "plugins" : [
9+ " @semantic-release/commit-analyzer" ,
10+ " @semantic-release/release-notes-generator" ,
11+ " @semantic-release/github"
12+ ]
13+ }
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ Casbin-CPP
22====
33
44[ ![ Build Status] ( https://dev.azure.com/Casbin/casbin/_apis/build/status/casbin.casbin-cpp?branchName=master )] ( https://dev.azure.com/Casbin/casbin/_build?definitionId=2&branchName=master )
5+ [ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
56[ ![ Gitter] ( https://badges.gitter.im/Join%20Chat.svg )] ( https://gitter.im/casbin/lobby )
67
78** News** : Are you still worried about how to write the correct Casbin policy? `` Casbin online editor `` is coming to help! Try it at: http://casbin.org/editor/
Original file line number Diff line number Diff line change 1+ path_classifiers :
2+ library :
3+ - casbin
4+ test :
5+ - test
6+ docs :
7+ - README.md
8+ - LICENSE.txt
9+ extraction :
10+ cpp:
You can’t perform that action at this time.
0 commit comments