diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 00000000..8904242d --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,14 @@ +name: Lint PR Title + +on: + pull_request_target: + types: + - opened + - edited + - reopened + +jobs: + lint-pr-title: + permissions: + pull-requests: read + uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/conventional-commits.yml@conventional-commits-v1.0.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..e7b1a5dc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: release-please + +on: + push: + branches: + - main + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + release-please: + uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/release-please.yml@release-please-v2.1.0 + secrets: inherit diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..e18ee077 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.0" +} diff --git a/package.json b/package.json index 345216f5..687a1d51 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { - "name": "documentation", + "name": "iexec-documentation", + "version": "0.0.0", "scripts": { "dev": "vitepress dev", "build": "vitepress build", diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..8ae5739e --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,29 @@ +{ + "packages": { + ".": { + "release-type": "node", + "include-v-in-tag": true, + "include-component-in-tag": false, + "changelog-path": "CHANGELOG.md" + } + }, + "changelog-sections": [ + { "type": "feat", "section": "๐Ÿš€ Features", "hidden": false }, + { "type": "change", "section": "๐Ÿš€ Features", "hidden": false }, + { "type": "deprecate", "section": "โš ๏ธ Changes", "hidden": false }, + { "type": "remove", "section": "โš ๏ธ Changes", "hidden": false }, + { "type": "fix", "section": "๐Ÿž Bug Fixes", "hidden": false }, + { "type": "revert", "section": "๐Ÿž Bug Fixes", "hidden": false }, + { "type": "security", "section": "๐Ÿž Bug Fixes", "hidden": false }, + { "type": "perf", "section": "โœจ Polish", "hidden": false }, + { "type": "refactor", "section": "โœจ Polish", "hidden": false }, + { "type": "style", "section": "โœจ Polish", "hidden": false }, + { "type": "build", "section": "๐Ÿงฐ Other", "hidden": false }, + { "type": "chore", "section": "๐Ÿงฐ Other", "hidden": false }, + { "type": "deps", "section": "๐Ÿงฐ Other", "hidden": true }, + { "type": "ci", "section": "๐Ÿงฐ Other", "hidden": true }, + { "type": "test", "section": "๐Ÿงช Tests", "hidden": false }, + { "type": "docs", "section": "๐Ÿ“š Documentation", "hidden": true } + ], + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..5b420983 --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["local>iExecBlockchainComputing/renovate-config"] +}