Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogene committed Oct 25, 2021
2 parents b315ad1 + 9e91a7d commit 339a6d7
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
68 changes: 68 additions & 0 deletions .github/workflows/trigger_bru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# This is a basic workflow to help you get started with Actions

name: Webhook trigger for blender-robotics-utils repository

# Controls when the workflow will run
on:
push:
# Triggers the workflow on push or pull request events but only for the master branch
branches:
- master
paths:
- 'iCub/robots/iCubGazeboV**'

jobs:
BRU_dispatch:
runs-on: ubuntu-latest
steps:
- id: file_changes
uses: trilom/file-changes-action@v1.2.3
- name: Files Changed
run: |
cat $HOME/files.json
cat $HOME/files_modified.json
cat $HOME/files_added.json
echo '${{ steps.file_changes.outputs.files}}'
echo '${{ steps.file_changes.outputs.files_modified}}'
echo '${{ steps.file_changes.outputs.files_added}}'
- name: Find urdf names
id: set_model_list
run: |
parsed_list=($(echo '${{ steps.file_changes.outputs.files}}' | tr ',' '\n'))
model_name_list=""
iter_model_list=0
for i in "${parsed_list[@]}"
do
if [ $(echo $i | awk '/iCubGazeboV/') ]
then
model_name=$(echo $i | tr -d '"')
echo $model_name
if [ $iter_model_list == 0 ]
then
model_name_list="$model_name"
iter_model_list=$(($iter_model_list+1))
else
model_name_list="$model_name_list $model_name"
fi
fi
done
echo "::set-output name=models::${model_name_list[@]}"
- name: Get Token
id: get_workflow_token
uses: tibdex/github-app-token@v1
with:
private_key: ${{ secrets.ICUB_TECH_CODE_KEY }}
app_id: ${{ secrets.ICUB_TECH_CODE_ID }}
repository: robotology/blender-robotics-utils

- name: Repository dispatch to blender-robotics-utils
uses: peter-evans/repository-dispatch@v1
if: steps.set_model_list.outputs.models != ''
env:
GITHUB_APPS_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
with:
token: ${{ env.GITHUB_APPS_TOKEN }}
repository: robotology/blender-robotics-utils
event-type: repository_trigger
client-payload: '{"type": "repository_trigger", "models_list": "${{ steps.set_model_list.outputs.models }}"}'
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ The format of this document is based on [Keep a Changelog](https://keepachangelo

## [Unreleased]

## [1.21.1] - 2021-09-03

### Fixed
* Fixed document on the use of `AMENT_PREFIX_PATH` environment variable (https://github.com/robotology/icub-models/pull/101).
* Fixed wrong default collision on the arms that slowed down Gazebo Classic simulation for iCub3 models (https://github.com/robotology/icub-models/issues/100, https://github.com/robotology/icub-models-generator/pull/208).

## [1.21.0] - 2021-08-27

Expand Down
2 changes: 1 addition & 1 deletion iCub/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<package>
<name>iCub</name>
<version>1.21.0</version>
<version>1.21.1</version>
<description>
This is not an actual package, but rather a placeholder to
make sure that the share/iCub directory is found as the
Expand Down

0 comments on commit 339a6d7

Please sign in to comment.