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

Fix CI breakage following macos-12 runner image deprecation #489

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

jgiannuzzi
Copy link
Member

The macos-12 image we use for building has been deprecated. This PR replaces its use by macos-13 for building, and remove the use of macos-12 for testing.

The nudge workflow configuration is also adjusted to notify us when the main CI workflow is cancelled, which was its conclusion when using a deprecated image, rather than a failure.

@jgiannuzzi jgiannuzzi marked this pull request as ready for review January 12, 2025 09:13
Copy link
Contributor

@marcin-krystianc marcin-krystianc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcin-krystianc marcin-krystianc merged commit f0694b4 into G-Research:master Jan 13, 2025
31 checks passed
@@ -15,3 +15,4 @@ jobs:
uses: pavlovic-ivan/octo-nudge@v2
with:
webhooks: ${{ secrets.NUDGE_WEBHOOKS }}
conclusions: failure,cancelled
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pavlovic-ivan , it turns out that cancelled is not a valid conclusions value -> https://github.com/pavlovic-ivan/octo-nudge/blob/329060af1fb848e1ab0b3350dac3f5f5d9487eb9/util/index.js#L4. Is something that we could add to the nudge action or maybe it is not really possible to react on cancelled conclusions?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Marcin. cancelled is not currently supported by the octo-nudgde. However, i can add it and support it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @marcin-krystianc @jgiannuzzi . Please update the version of the octo-nudge action to v3. You should get the notifications for cancelled runs as well. Do let me know if it's not working (i've tested it, and it works in my setup).

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.

3 participants