diff --git a/.github/workflows/release-generate-notes.yml b/.github/workflows/release-generate-notes.yml index c4c2217ad4..73800b39b8 100644 --- a/.github/workflows/release-generate-notes.yml +++ b/.github/workflows/release-generate-notes.yml @@ -31,3 +31,4 @@ jobs: uses: flex-development/gh-commit@1.0.0 with: message: "Update release notes" + token: ${{ secrets.DHIS2_BOT_NPM_TOKEN }} diff --git a/.github/workflows/release-start.yml b/.github/workflows/release-start.yml index c392b76581..fd1efd2cc6 100644 --- a/.github/workflows/release-start.yml +++ b/.github/workflows/release-start.yml @@ -50,6 +50,7 @@ jobs: with: message: 'Update version to ${{ env.RELEASE_VERSION }}' ref: ${{ env.RELEASE_BRANCH }} + token: ${{ secrets.DHIS2_BOT_NPM_TOKEN }} update_version: # The type of runner that the job will run on @@ -80,6 +81,7 @@ jobs: with: message: 'Update version to ${{ env.DEVELOPMENT_VERSION }}' ref: ${{ env.DEVELOPMENT_BRANCH }} + token: ${{ secrets.DHIS2_BOT_NPM_TOKEN }} - name: create pull request run: gh pr create -B develop -H update_version_to${{ env.DEVELOPMENT_VERSION }} --title 'Merge ${{ env.DEVELOPMENT_BRANCH }} into develop' --body 'Created by Github action'