Skip to content

Commit

Permalink
release drafter: simply push, no restrictions yet
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Sep 7, 2022
1 parent 88a8cd1 commit 92c25e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
id: version_job
- name: Commit and push files
if: ${{ steps.version_job.outputs.changes_exist == 'true' }}
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.GH_ACTION_DEPLOY_PRIVATE_KEY }}"
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Bump version to ${{ steps.version_job.outputs.VERSION_NAME }}" -a
git push [email protected]:$GITHUB_REPOSITORY.git
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit 92c25e1

Please sign in to comment.