Skip to content

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented May 8, 2025

What does this PR do?

Print commit SHA on slack message for new model notification.

@github-actions github-actions bot marked this pull request as draft May 8, 2025 12:59
@github-actions
Copy link
Contributor

github-actions bot commented May 8, 2025

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the Ready for review button (at the bottom of the PR page). This will assign reviewers and trigger CI.

@ydshieh ydshieh marked this pull request as ready for review May 8, 2025 13:11
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ydshieh ydshieh requested review from LysandreJik and Copilot May 8, 2025 13:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the new model notification by adding the commit SHA to the Slack message.

  • Adds an additional line to the Slack message text displaying the commit SHA.
Comments suppressed due to low confidence (1)

.github/workflows/new_model_pr_merged_notification.yml:62

  • Ensure that the newline character (\n) is rendered as expected in Slack. If Slack does not properly interpret the \n, consider using an alternative formatting or escaping mechanism to maintain message clarity.
                    "text": "<https://github.com/huggingface/transformers/commit/${{ env.COMMIT_SHA }}|New model: ${{ env.NEW_MODEL }}> GH_ArthurZucker, GH_lysandrejik, GH_ydshieh\ncommit SHA: ${{ env.COMMIT_SHA }}"

@ydshieh ydshieh merged commit 3390534 into main May 8, 2025
9 of 11 checks passed
@ydshieh ydshieh deleted the add_commit_info branch May 8, 2025 13:26
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request May 14, 2025
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.

4 participants