From 8a17dbcf6c5d64978ed1c7549fd963965034b818 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Thu, 22 Aug 2024 20:20:46 +0200 Subject: [PATCH] [FIXUP] Print fork infos --- .github/workflows/bumpServiceVersions.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/bumpServiceVersions.yml b/.github/workflows/bumpServiceVersions.yml index 2ee4f626f7f..233011c5ad5 100644 --- a/.github/workflows/bumpServiceVersions.yml +++ b/.github/workflows/bumpServiceVersions.yml @@ -34,6 +34,23 @@ jobs: - uses: actions/checkout@v4 - run: | git config --list + echo 'config end' + 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 remote add 'fork' https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git + git remote -v + git config --global user.email 'eclipse-releng-bot@eclipse.org' + 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 + git log --patch -2 + +#TODO: make version dynamic and mail and bot name configurable?! + # See # https://github.com/actions/toolkit