diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 21a0097..1133e81 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ # default is tech team -* @berty/tech +* @berty/go-owners diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..60b56fb --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,13 @@ +name: Semantic Release + +on: push + +jobs: + semantic-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: codfish/semantic-release-action@v1 + if: github.ref == 'refs/heads/master' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.releaserc.js b/.releaserc.js new file mode 100644 index 0000000..566642f --- /dev/null +++ b/.releaserc.js @@ -0,0 +1,8 @@ +module.exports = { + branch: 'master', + plugins: [ + '@semantic-release/commit-analyzer', + '@semantic-release/release-notes-generator', + '@semantic-release/github', + ], +};