Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gh actions] use "inclusive heat sensor" v0.1.1 #25532

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

jonathanpeppers
Copy link
Member

Context: #25389
Context: https://github.com/jonathanpeppers/inclusive-heat-sensor/releases/tag/v0.1.1

The version of the action in #25389 had an issue where a non-zero exit code could make the step fail. This would trigger a GitHub notification for the commenter.

So, to avoid that, the v0.1.1 release:

  • Uses continue-on-error: true in the step that runs the action.

  • Explicitly exit 0 in powershell, this was the true cause of the non-zero exit code.

Note that we're still testing out this idea, our goal is to run this silently to decide how useful this will be.

I also made this no longer run on pull_request reopen, as this event doesn't make sense.

Context: #25389
Context: https://github.com/jonathanpeppers/inclusive-heat-sensor/releases/tag/v0.1.1

The version of the action in #25389 had an issue where a non-zero exit
code could make the step fail. This would trigger a GitHub
notification for the commenter.

So, to avoid that, the v0.1.1 release:

* Uses `continue-on-error: true` in the step that runs the action.

* Explicitly `exit 0` in powershell, this was the true cause of the
  non-zero exit code.

Note that we're still testing out this idea, our goal is to run this
silently to decide how useful this will be.

I also made this no longer run on `pull_request` reopen, as this event
doesn't make sense.
@jonathanpeppers
Copy link
Member Author

@rmarinho if you want, we can test this out on Monday (or when you have free time). We'll want to undo what you did to disable the action last week. Thanks!

@rmarinho rmarinho merged commit 8f8de3d into main Oct 25, 2024
4 checks passed
@rmarinho rmarinho deleted the dev/peppers/inclusive-heat-sensor-take-2 branch October 25, 2024 20:55
@jonathanpeppers
Copy link
Member Author

jonathanpeppers commented Oct 25, 2024

This is a test.

What happens if I paste a comment like:

This pull request is terrible! Reconsider your life choices!

Update 1

@jonathanpeppers
Copy link
Member Author

Comment above rated: {"offensive":7,"anger":6}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants