Skip to content

Fail workflow when conclusion is failure#39805

Merged
mx-psi merged 2 commits into
open-telemetry:mainfrom
ArthurSens:gh-action-being-weird
May 9, 2025
Merged

Fail workflow when conclusion is failure#39805
mx-psi merged 2 commits into
open-telemetry:mainfrom
ArthurSens:gh-action-being-weird

Conversation

@ArthurSens
Copy link
Copy Markdown
Member

Description

In #38270, I've introduced a workflow to create new issues when tests fail on main. Somehow, that change caused an unexpected behavior with test result reports, as explained in #39616.

To be completely transparent, I'm unsure if this PR fixes the issue. Following what is documented by GitHub, the existing configuration should work... but, well, it isn't. So I'm trying the opposite of what the documentation says.

I would really appreciate it if someone with GitHub Actions experience could chime in and guide me because I'm taking shots in the dark at this point 😕

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
@ArthurSens ArthurSens requested a review from a team as a code owner May 1, 2025 00:11
@ArthurSens ArthurSens requested a review from MovieStoreGuy May 1, 2025 00:11
@ArthurSens ArthurSens added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 1, 2025
@atoulme
Copy link
Copy Markdown
Contributor

atoulme commented May 2, 2025

When do you want to try this out?

@ArthurSens
Copy link
Copy Markdown
Member Author

Whenever is best for someone with permissions to merge/revert :)

I can make time during weekdays

@mx-psi mx-psi merged commit 2dbd38e into open-telemetry:main May 9, 2025
173 checks passed
@github-actions github-actions Bot added this to the next release milestone May 9, 2025
mx-psi added a commit that referenced this pull request May 9, 2025
mx-psi added a commit that referenced this pull request May 9, 2025
@ArthurSens ArthurSens deleted the gh-action-being-weird branch May 10, 2025 11:53
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
#### Description
In
open-telemetry#38270,
I've introduced a workflow to create new issues when tests fail on main.
Somehow, that change caused an unexpected behavior with test result
reports, as explained in
open-telemetry#39616.

To be completely transparent, I'm unsure if this PR fixes the issue.
Following what is [documented by
GitHub](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#steps-context),
the existing configuration should work... but, well, it isn't. So I'm
trying the opposite of what the documentation says.

I would really appreciate it if someone with GitHub Actions experience
could chime in and guide me because I'm taking shots in the dark at this
point 😕

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
#### Description
In
open-telemetry#38270,
I've introduced a workflow to create new issues when tests fail on main.
Somehow, that change caused an unexpected behavior with test result
reports, as explained in
open-telemetry#39616.

To be completely transparent, I'm unsure if this PR fixes the issue.
Following what is [documented by
GitHub](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#steps-context),
the existing configuration should work... but, well, it isn't. So I'm
trying the opposite of what the documentation says.

I would really appreciate it if someone with GitHub Actions experience
could chime in and guide me because I'm taking shots in the dark at this
point 😕

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants