Skip to content

Allow Dependabot PRs to skip release note validation #4985

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

Merged
merged 5 commits into from
Jan 3, 2023

Conversation

CoderDake
Copy link
Contributor

@CoderDake CoderDake commented Dec 22, 2022

Dependabot auto merges are failing since they don't have the required exception in the description.
This PR makes it so that dependabot PR's are exempt from modifying the release notes
RELEASE_NOTE_EXCEPTION=Changes a dev process, not user facing

@CoderDake CoderDake requested a review from a team as a code owner December 22, 2022 20:13
@CoderDake CoderDake requested review from polina-c and removed request for a team December 22, 2022 20:13
@CoderDake CoderDake marked this pull request as draft December 22, 2022 20:13
@CoderDake CoderDake marked this pull request as ready for review December 22, 2022 20:23
run: |
if [ "$HAS_CHANGED_RELEASE_NOTES" != "true" ] && [ "$HAS_RELEASE_NOTE_EXCEPTION_STRING" != "true" ] ; then
if [ "$HAS_CHANGED_RELEASE_NOTES" != "true" ] && [ "$HAS_RELEASE_NOTE_EXCEPTION_STRING" != "true" ] && [ "$IS_DEPENDABOT_PR" != "true" ] ; then
echo "Release Preparedness check failed"
echo "::error file=$CURRENT_RELEASE_FILE_PATH,line=0,col=0,endColumn=0,title='Release Notes Weren\'t Modified'::Please add a release note entry to $CURRENT_RELEASE_FILE_PATH or an exception reason to your description using: \`RELEASE_NOTE_EXCEPTION=[reason goes here]\`"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I don't think that ' needs to be escaped:

image

@CoderDake CoderDake merged commit 450df42 into flutter:master Jan 3, 2023
polina-c pushed a commit to polina-c/devtools that referenced this pull request Jan 3, 2023
@CoderDake CoderDake mentioned this pull request Jan 24, 2023
7 tasks
@DartDevtoolWorkflowBot DartDevtoolWorkflowBot mentioned this pull request Jan 24, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants