Skip to content

Commit

Permalink
Report issue also on a source build failure (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Aug 18, 2024
1 parent 3268633 commit ddb4bac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/reusable-ros-tooling-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ jobs:
https://raw.githubusercontent.com/ros2/ros2/${{ inputs.ros2_repo_branch }}/ros2.repos
${{ steps.check_local_repos.outputs.repo_file }}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
id: action-ros
- name: Download issue template for target failure # Has to be a local file
if: ${{ always() && steps.action-ros.outcome == 'failure' && github.event_name == 'schedule' }}
run:
wget https://raw.githubusercontent.com/ros-controls/ros2_control_ci/master/.github/issue_template_failed_ci.md -O .github/issue_template_failed_ci.md
- uses: JasonEtco/create-an-issue@v2
# action-ros-ci does not report more details on test failures afaik
if: ${{ always() && steps.action-ros.outcome == 'failure' && github.event_name == 'schedule'}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/source
REF: ${{ inputs.ref }}
URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
with:
update_existing: true
filename: .github/issue_template_failed_ci.md
- uses: actions/[email protected]
with:
name: colcon-logs-${{ inputs.os_name }}-${{ inputs.ros_distro }}
Expand Down

0 comments on commit ddb4bac

Please sign in to comment.