feat: new action to auto approve version packages PRs from layerzero-bot - #1618
Merged
Conversation
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a GitHub Actions workflow to automatically approve version package PRs from the layerzero-bot user, reducing the approval requirement from 2 to 1 human approval to speed up the development process.
- Adds automated approval for PRs from
layerzero-botwhen they only contain package/version-related files - Implements file validation to ensure only allowed files (package.json, pnpm-lock.yaml, .changeset files, CHANGELOG.md) are modified
- Includes comment tracking and fail-safe design that won't block manual approvals
nazreen
approved these changes
Jul 16, 2025
ItsAdel
approved these changes
Jul 18, 2025
mattsse
pushed a commit
to mattsse/devtools
that referenced
this pull request
Aug 12, 2025
…bot (LayerZero-Labs#1618) Signed-off-by: shankar <shankar@layerzerolabs.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Version Package PRs should not require 2 approvals. This can slow down developers that merge a PR and then wait on another approval to bump packages.
This PR introduces a new github action that auto approves (1 time) PRs from @layerzero-bot (our version package author).
Auto approve layerzero-bot:
layerzero-bot**/package.json**/pnpm-lock.yaml**/.changeset/****/CHANGELOG.md.changeset/**