Skip to content

Commit

Permalink
[FIXUP] Print fork infos
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Aug 22, 2024
1 parent 9c728f5 commit 1f52790
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/bumpServiceVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,27 @@ jobs:
- uses: actions/checkout@v4
- run: |
git config --list
- run: |
echo 'full_name: ${{ github.event.pull_request.head.repo.full_name }}'
echo 'head-ref1: ${{ github.event.pull_request.head.ref }}'
echo 'head-ref2: ${{ github.head_ref }}'
git config --global user.email '[email protected]'
git config --global user.name 'Eclipse Releng Bot'
echo 'Hello World' > myfile.txt
git add --all *
git status
git commit -m "Bump version(s) for 4.34 stream"
git status
- name: Push version bump commit
if: ${{ github.event_name == 'pull_request' }}
run: |
git remote add 'fork' https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git
git remote -v
git push 'fork' 'HEAD:refs/heads/${{ github.event.pull_request.head.ref }}'
#TODO: make version dynamic and mail and bot name configurable?!


# See
# https://github.com/actions/toolkit
Expand Down

0 comments on commit 1f52790

Please sign in to comment.