Skip to content

Commit

Permalink
Use DHIS2-bot token
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz committed Nov 14, 2024
1 parent 82eedcb commit 8fd0da2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-generate-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ jobs:
uses: flex-development/[email protected]
with:
message: "Update release notes"
token: ${{ secrets.DHIS2_BOT_NPM_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/release-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 8fd0da2

Please sign in to comment.