From 294a6f4dc2c33829040ca01920038df0e505607e Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 23 Feb 2021 15:08:47 -0800 Subject: [PATCH] Add action to ask for validation when modifying Packages.props (#1165) * Add action to ask for validation when modifying Packages.props * test * update name * undo --- .../workflows/packages-validation-comment.yml | 25 +++++++++++++++++++ Packages.props | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/packages-validation-comment.yml diff --git a/.github/workflows/packages-validation-comment.yml b/.github/workflows/packages-validation-comment.yml new file mode 100644 index 00000000..5c25aa9f --- /dev/null +++ b/.github/workflows/packages-validation-comment.yml @@ -0,0 +1,25 @@ +name: Packages.props validation message +on: + pull_request: + paths: + - 'Packages.props' + branches: + - main + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: mshick/add-pr-comment@v1 + with: + message: | + As part of updating the dependencies in Packages.props we require that any PRs opened also verify that + they've done the following checks. + + **Please respond to this comment verifying that you've done the appropriate validation (or explain why it's not necessary) before merging in the PR** + + - [ ] Built and tested the change locally to validate that the update doesn't cause any regressions and fixes the issues intended + - [ ] Tested changes on all major platforms (Windows/Mac/Linux) + - [ ] Check the source repo for any open issues with the release being updated to (if available) + repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens \ No newline at end of file diff --git a/Packages.props b/Packages.props index 53933731..9ab6c530 100644 --- a/Packages.props +++ b/Packages.props @@ -1,7 +1,7 @@ - +