Skip to content

Commit

Permalink
Use github bot user
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz committed Nov 18, 2024
1 parent dc72b01 commit 0c0034b
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/release-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
RELEASE_BRANCH: 'release/${{ inputs.release_version_name }}'

steps:
- id: debug
name: Print environment variables and event payload
uses: hmarr/[email protected]

- name: Check out code
uses: actions/checkout@v4
with:
Expand All @@ -52,11 +48,12 @@ jobs:
run: python scripts/updateVersionName.py ${{ env.RELEASE_VERSION }}

- name: Commit and Push Changes
uses: flex-development/[email protected]
with:
message: 'Update version to ${{ env.RELEASE_VERSION }}'
ref: ${{ env.RELEASE_BRANCH }}
token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "generated"
git push
update_version:
if: false
Expand Down

0 comments on commit 0c0034b

Please sign in to comment.