Skip to content

Commit

Permalink
Revert "REVERT_ME: Also run on other builds"
Browse files Browse the repository at this point in the history
This reverts commit f658ab4.
  • Loading branch information
fmauch committed Mar 4, 2024
1 parent 6332aed commit 50bfacf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reusable-industrial-ci-with-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,17 @@ jobs:
BEFORE_INSTALL_UPSTREAM_DEPENDENCIES: ${{ inputs.before_install_upstream_dependencies }}
id: ici
- name: Download issue template for target failure # Has to be a local file
if: ${{ always() && steps.ici.outcome == 'failure'}}
if: ${{ always() && steps.ici.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
- name: Download issue template for downstream failure # Has to be a local file
if: ${{ always() && steps.ici.outcome == 'failure'}}
if: ${{ always() && steps.ici.outcome == 'failure' && github.event_name == 'schedule' }}
run:
wget https://raw.githubusercontent.com/ros-controls/ros2_control_ci/master/.github/issue_template_failed_ci_downstream.md -O .github/issue_template_failed_ci_downstream.md
- uses: JasonEtco/create-an-issue@v2
# `make` and so `colcon build` returns 2 on errors, while `colcon test-result` returns 1 on
# when any test failed.
if: ${{ always() && (steps.ici.outputs.build_target_workspace == '2' || steps.ici.outputs.target_test_results == '1')}}
if: ${{ always() && (steps.ici.outputs.build_target_workspace == '2' || steps.ici.outputs.target_test_results == '1') && github.event_name == 'schedule'}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/${{ inputs.ros_repo }}
Expand All @@ -121,7 +121,7 @@ jobs:
update_existing: true
filename: .github/issue_template_failed_ci.md
- uses: JasonEtco/create-an-issue@v2
if: ${{ always() && (steps.ici.outputs.build_downstream_workspace == '2' || steps.ici.outputs.downstream_test_results == '1')}}
if: ${{ always() && (steps.ici.outputs.build_downstream_workspace == '2' || steps.ici.outputs.downstream_test_results == '1') && github.event_name == 'schedule'}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTION_NAME: ${{ inputs.ros_distro }}/${{ inputs.ros_repo }}
Expand Down

0 comments on commit 50bfacf

Please sign in to comment.