diff --git a/.github/workflows/prepare-release.yaml b/.github/workflows/prepare-release.yaml index d6b55372..c94d5fc0 100644 --- a/.github/workflows/prepare-release.yaml +++ b/.github/workflows/prepare-release.yaml @@ -9,6 +9,10 @@ permissions: contents: write pull-requests: write +env: + BOT_USER_NAME: eclipse-thingweb-bot + BOT_EMAIL: thingweb-bot@eclipse.org + jobs: prepare-release: runs-on: ubuntu-latest @@ -53,10 +57,11 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v6 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.BOT_TOKEN }} commit-message: "chore(release): prepare release ${{ steps.version-number.outputs.version }}" - committer: github-actions[bot] - author: github-actions[bot] + committer: ${{ env.BOT_USER_NAME }} <${{ env.BOT_EMAIL }}> + author: ${{ env.BOT_USER_NAME }} <${{ env.BOT_EMAIL }}> + signoff: true branch: next-release delete-branch: true