Skip to content

Commit

Permalink
use token
Browse files Browse the repository at this point in the history
  • Loading branch information
henne49 committed Jun 4, 2024
1 parent c605c70 commit ce505dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ jobs:
run: |
echo "Version: ${{ steps.gitversion.outputs.majorMinorPatch }}" > version.txt
- name: Commit and push
env:
PAT: ${{ secrets.GH_TOKEN }}
run: |
git remote set-url origin https://github-actions[bot]:${PAT}@github.com/henne49/dbus-opendtu.git
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add version.txt
git commit -m "Update version"
git push
git push origin main

0 comments on commit ce505dd

Please sign in to comment.