Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: fixed the notify triager workflow #3460
fix: fixed the notify triager workflow #3460
Changes from 3 commits
76fd8e4
e230dde
02b18ed
aadb343
abdc1f1
b0e41ec
9b5d530
d179983
e3e6814
0a69e1a
2794fca
4a20c21
4fb13cc
6d5703d
67d390c
7d491bf
852987c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use version tags instead of commit hashes for action versions.
Using a specific commit hash (
aa08304bd477b800d468db44fe10f6c61f7f7b11
) for the action version is risky as the commit could be force-pushed or deleted. The AI summary indicates that this should be usingv45
.📝 Committable suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the
changed-files.outputs.all_changed_files_count
is equal tosteps.md-pr-changes.outputs.all_changed_files_count
?Can you please explain exactly what that check means?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this we are checking for non md files
If the count is not equal that means there are some non md files also which needs to be reviewed by code reviewers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tj-actions doesn't have any mechanism for non md files so that's why I implemented this or else we need to check for many file extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though I am still curious about the ambigious behavior of this workflow. For example, examine this PR
#3245 (comment)
See how MD triagers are getting assigned as PR reviewers even though there was no merge commit or a MD file change
Another instance of this issue:
#3075 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/asyncapi/website/actions/runs/11141478939/job/30962427072
I think this job was surpassed