Skip to content

Commit b34472e

Browse files
authored
ci: setup release please & renovate & conventional commit (#6)
1 parent 672d3cd commit b34472e

File tree

6 files changed

+68
-1
lines changed

6 files changed

+68
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Lint PR Title
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
10+
jobs:
11+
lint-pr-title:
12+
permissions:
13+
pull-requests: read
14+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
release-please:
15+
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected]
16+
secrets: inherit
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.0"
3+
}

β€Žpackage.jsonβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"name": "documentation",
2+
"name": "iexec-documentation",
3+
"version": "0.0.0",
34
"scripts": {
45
"dev": "vitepress dev",
56
"build": "vitepress build",

β€Žrelease-please-config.jsonβ€Ž

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"packages": {
3+
".": {
4+
"release-type": "node",
5+
"include-v-in-tag": true,
6+
"include-component-in-tag": false,
7+
"changelog-path": "CHANGELOG.md"
8+
}
9+
},
10+
"changelog-sections": [
11+
{ "type": "feat", "section": "πŸš€ Features", "hidden": false },
12+
{ "type": "change", "section": "πŸš€ Features", "hidden": false },
13+
{ "type": "deprecate", "section": "⚠️ Changes", "hidden": false },
14+
{ "type": "remove", "section": "⚠️ Changes", "hidden": false },
15+
{ "type": "fix", "section": "🐞 Bug Fixes", "hidden": false },
16+
{ "type": "revert", "section": "🐞 Bug Fixes", "hidden": false },
17+
{ "type": "security", "section": "🐞 Bug Fixes", "hidden": false },
18+
{ "type": "perf", "section": "✨ Polish", "hidden": false },
19+
{ "type": "refactor", "section": "✨ Polish", "hidden": false },
20+
{ "type": "style", "section": "✨ Polish", "hidden": false },
21+
{ "type": "build", "section": "🧰 Other", "hidden": false },
22+
{ "type": "chore", "section": "🧰 Other", "hidden": false },
23+
{ "type": "deps", "section": "🧰 Other", "hidden": true },
24+
{ "type": "ci", "section": "🧰 Other", "hidden": true },
25+
{ "type": "test", "section": "πŸ§ͺ Tests", "hidden": false },
26+
{ "type": "docs", "section": "πŸ“š Documentation", "hidden": true }
27+
],
28+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
29+
}

β€Žrenovate.jsonβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["local>iExecBlockchainComputing/renovate-config"]
4+
}

0 commit comments

Comments
Β (0)