You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable review approval portion of downstream change check (#449)
The default access token used in GitHub Actions workflows does not have
the required permissions to see the list of team members, which exists
outside of the arm-toolchain repo at the arm org level. As a result,
attempting to check which teams have reviewed a pull request will
currently cause an error.
For now, remove the check until it can be reworked. Since there will no
longer be a hard gated check on whether a pull request has been
sufficiently reviewed, the automated comment has been updated to remind
to wait for both teams before merging.
HELP_COMMENT_TEXT="""This pull review modifies files outside of the `arm-software` directory, so please ensure it follows the [Downstream Patch Policy](https://github.com/arm/arm-toolchain/blob/arm-software/CONTRIBUTING.md#downstream-patch-policy).
36
-
An automated check will test if the tagging requirements have been met. In addition, approved reviews from both Arm Toolchain for Embedded and Arm Toolchain for Linux teams will be required before this check will pass."""
33
+
An automated check will test if the tagging requirements have been met. Please wait for approving reviews from both Arm Toolchain for Embedded and Arm Toolchain for Linux teams before merging."""
f"Check passed. Pull request #{args.pr} contains downstream changes, a correctly formatted link to a downstream tracking issue, and has been reviewed by both teams."
398
-
)
399
-
sys.exit(0)
400
-
else:
401
-
logger.info(
402
-
f"Check failed. Pull request #{args.pr} contains downstream changes, and a correctly formatted link to a downstream tracking issue, but has not been reviewed by both teams."
403
-
)
404
-
sys.exit(1)
328
+
logger.info(
329
+
f"Check passed. Pull request #{args.pr} contains downstream changes, and a correctly formatted link to a downstream tracking issue."
0 commit comments