Skip to content

Commit 3dabe3c

Browse files
authored
Update update_dependencies_versions.yml
1 parent 8440904 commit 3dabe3c

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/update_dependencies_versions.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,17 @@ jobs:
2121
with:
2222
ref: ${{ github.event.inputs.main-branch }}
2323
token: ${{ secrets.GITHUB_TOKEN }}
24+
25+
- name: Bot Details
26+
id: bot-details
27+
uses: raven-actions/bot-details@v1
28+
2429
- name: Update versions
2530
id: create-versions
2631
env:
32+
BOT_ID: ${{ steps.bot-details.outputs.id }}
33+
BOT_DISPLAY_NAME: ${{ steps.bot-details.outputs.name }}
34+
BOT_EMAIL: ${{ steps.bot-details.outputs.email }}
2735
MAPFISH_GROUP: org.mapfish.print
2836
MAPFISH_VERSION: ${{ github.event.inputs.mapfish-version }}
2937
GEOSTORE_GROUP: it.geosolutions.geostore
@@ -40,8 +48,8 @@ jobs:
4048
# script will go here
4149
echo "Initializing git"
4250
# Optional
43-
git config user.name github-actions
44-
git config user.email github-actions@github.com
51+
git config user.name $BOT_DISPLAY_NAME
52+
git config user.email $BOT_EMAIL
4553
# Find all pom.xml files and update-dependencies on them
4654
echo "Updating versions of dependencies in all pom.xml files to versions mapfish: $MAPFISH_VERSION, geostore: $GEOSTORE_VERSION, http-proxy: $HTTP_PROXY_VERSION"
4755

0 commit comments

Comments
 (0)