diff --git a/.github/workflows/deploy-package.yml b/.github/workflows/deploy-package.yml index c0e5a6ea8..c89a0c641 100644 --- a/.github/workflows/deploy-package.yml +++ b/.github/workflows/deploy-package.yml @@ -20,6 +20,17 @@ jobs: persist-credentials: false token: ${{ secrets.GH_TOKEN }} - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + + - name: Configure SSH signing + run: | + mkdir -p ~/.ssh + echo "${{ secrets.SSH_SIGNING_PRIVATE_KEY }}" > ~/.ssh/signing_key + chmod 600 ~/.ssh/signing_key + git config --global gpg.format ssh + git config --global user.signingkey ~/.ssh/signing_key + git config --global commit.gpgsign true + git config --global tag.gpgsign true + - name: Git Identity run: | git config --global user.name 'scaleway-bot' diff --git a/lerna.json b/lerna.json index 602b5455e..e5ad23a65 100644 --- a/lerna.json +++ b/lerna.json @@ -7,7 +7,9 @@ "conventionalCommits": true, "message": "chore(release): publish", "createRelease": "github", - "loglevel": "verbose" + "loglevel": "verbose", + "signGitCommit": true, + "signGitTag": true } }, "$schema": "node_modules/lerna/schemas/lerna-schema.json"