-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
162 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
"plugins": [ | ||
"sbt", | ||
"released" | ||
], | ||
"versionBranches": "version-", | ||
"shipit": { | ||
"noChangelog": true | ||
}, | ||
"canary": { | ||
"force": true | ||
}, | ||
"noDefaultLabels": true, | ||
"labels": [ | ||
{ | ||
"name": "breaking", | ||
"changelogTitle": "💥 Breaking change", | ||
"description": "Major change, breaking API", | ||
"releaseType": "major", | ||
"color": "#FF0000" | ||
}, | ||
{ | ||
"name": "feat", | ||
"changelogTitle": "🚀 Features", | ||
"description": "A new feature", | ||
"releaseType": "minor", | ||
"color": "#00FF00" | ||
}, | ||
{ | ||
"name": "fix", | ||
"changelogTitle": "🐛 Bug Fixes", | ||
"description": "A bug fix", | ||
"releaseType": "patch", | ||
"color": "#FFA500" | ||
}, | ||
{ | ||
"name": "docs", | ||
"changelogTitle": "📝 Documentation", | ||
"description": "Documentation only changes", | ||
"releaseType": "none", | ||
"color": "#ADD8E6" | ||
}, | ||
{ | ||
"name": "style", | ||
"changelogTitle": "🎨 Styles", | ||
"description": "Changes that do not affect the meaning of the code", | ||
"releaseType": "none", | ||
"color": "#FFC0CB" | ||
}, | ||
{ | ||
"name": "refactor", | ||
"changelogTitle": "🛠 Code Refactoring", | ||
"description": "A code change that neither fixes a bug nor adds a feature", | ||
"releaseType": "none", | ||
"color": "#808080" | ||
}, | ||
{ | ||
"name": "perf", | ||
"changelogTitle": "🏎 Performance Improvements", | ||
"description": "A code change that improves performance", | ||
"releaseType": "patch", | ||
"color": "#FFFF00" | ||
}, | ||
{ | ||
"name": "test", | ||
"changelogTitle": "🧪 Tests", | ||
"description": "Adding missing tests or correcting existing tests", | ||
"releaseType": "none", | ||
"color": "#0000FF" | ||
}, | ||
{ | ||
"name": "build", | ||
"changelogTitle": "🚧 Builds", | ||
"description": "Changes that affect the build system or external dependencies", | ||
"releaseType": "none", | ||
"color": "#800080" | ||
}, | ||
{ | ||
"name": "ci", | ||
"changelogTitle": "🔁 Continuous Integrations", | ||
"description": "Changes to our CI configuration files and scripts", | ||
"releaseType": "none", | ||
"color": "#CBC3E3" | ||
}, | ||
{ | ||
"name": "chore", | ||
"changelogTitle": "🏠 Chores", | ||
"description": "Other changes that don't modify src or test files", | ||
"releaseType": "none", | ||
"color": "#964B00" | ||
}, | ||
{ | ||
"name": "revert", | ||
"changelogTitle": "⏪ Reverts", | ||
"description": "Reverts a previous commit", | ||
"releaseType": "none", | ||
"color": "#FFAE42" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Auto labels | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- ".autorc.json" | ||
|
||
jobs: | ||
create: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.0.2 | ||
- uses: auto-it/setup-auto@v1 | ||
|
||
- name: Create Labels | ||
run: auto create-labels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
workflow_run: | ||
workflows: [CI] | ||
types: [completed] | ||
branches: [master] | ||
|
||
concurrency: release | ||
|
||
jobs: | ||
publish: | ||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.0.2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: coursier/cache-action@v6.3.3 | ||
- uses: auto-it/setup-auto@v1 | ||
|
||
- name: Create Release | ||
run: auto shipit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.1") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") | ||
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") |