Zulip Chat Archive

Stream: mathlib4

Topic: messageFile.md


Yaël Dillies (Jan 18 2025 at 11:21):

message.txt

Andrew Yang (Jan 18 2025 at 11:32):

It will be fixed if one merges master

Winston Yin (尹維晨) (Jan 31 2025 at 10:00):

github-actions bot is commenting messageFile.md (#21286). I assume it's a bug?

Yaël Dillies (Jan 31 2025 at 10:00):

It means you should merge master

Winston Yin (尹維晨) (Jan 31 2025 at 10:01):

If only I looked two comments up... Thanks!

Damiano Testa (Jan 31 2025 at 10:02):

I really should have called the file please_merge_master.md.

Winston Yin (尹維晨) (Feb 09 2025 at 09:49):

Is it still possible to change the name to please_merge_master.md...?

Damiano Testa (Feb 10 2025 at 18:37):

If you are serious about this, here we go! #21676

Eric Wieser (Feb 10 2025 at 18:39):

Why do we checkout the current branch in that CI script?

Eric Wieser (Feb 10 2025 at 18:39):

Can't we use git's default checked out commit (the auto-merge, IIRC)?

Damiano Testa (Feb 10 2025 at 19:27):

Eric, maybe I am not understanding your comment, but the action contains a script that should be run both on master and on the PR branch, in order to measure the changes to the import graph.

Eric Wieser (Feb 11 2025 at 07:09):

I claim you should be checking out GITHUB_SHA not $BRANCH_NAME. The latter doesn't include the latest master.

Damiano Testa (Feb 11 2025 at 10:01):

On the topic of the file name, this has been changed and you can see #21699 for what happens with the change.

EDIT: the bot reaction is simply a test that I was trying out! :smile:

Damiano Testa (Feb 11 2025 at 10:02):

Eric, I am going to look up the differences between the two commits (I am not sure that I even knew that there was a difference) and will report back!

Eric Wieser (Feb 11 2025 at 11:44):

GITHUB_SHA is the result of merging master into BRANCH_NAME, roughly

Damiano Testa (Feb 11 2025 at 11:52):

I see, so you are saying that GITHUB_SHA will have a smaller diff with master than BRANCH_NAME and hence the PR summary will have an easier starting point, right?

Eric Wieser (Feb 11 2025 at 11:59):

More that it will be more likely to be using an up to date version of the shell script


Last updated: May 02 2025 at 03:31 UTC