-
Notifications
You must be signed in to change notification settings - Fork 5
Update to release 3.2.2 #921
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
Changes from all commits
778dd98
ce2b784
ba94e6f
caf1ee0
455cec1
39b96b6
b29e467
242ac89
4e02591
b36a7af
d40408e
4525aad
525a722
f63b4d3
5638671
d6ecb25
539166d
89e401f
0ce06a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,9 +8,14 @@ execSync("gh pr checkout " + PRNumber); | |||||
| console.info("PR #" + PRNumber + " has been checked out."); | ||||||
|
|
||||||
| // Check if the last commit was made by github-actions[bot] | ||||||
| // Only skip for synchronize events (push-triggered) to prevent infinite loops. | ||||||
| // For edited events (PR title/body changes), allow metadata updates even when | ||||||
| // the branch tip is a bot commit. | ||||||
| const eventAction = String(process.argv[6] || ""); | ||||||
| const lastCommitAuthor = execSync("git log -1 --pretty=format:'%an'").toString().trim(); | ||||||
| console.log("Last commit author: " + lastCommitAuthor); | ||||||
| if (lastCommitAuthor === "github-actions[bot]") { | ||||||
| console.log("Event action : " + eventAction); | ||||||
| if (lastCommitAuthor === "github-actions[bot]" && eventAction !== "edited") { | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: The new skip condition contradicts the comment and still blocks non-"edited" actions like Prompt for AI agents
Suggested change
|
||||||
| console.log("Last commit was made by github-actions[bot]. Skipping to prevent infinite loop."); | ||||||
| process.exit(0); | ||||||
| } | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.
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.
P2: Production releases should set "Prerelease" to false. This entry marks 3.2.2 as a prerelease, which will mislabel the production release.
Prompt for AI agents