From c57f1416ee6ab703956cdf64ce17f0f743d6afe0 Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Wed, 23 Aug 2023 12:54:21 +0500 Subject: [PATCH 1/4] chore: Tag Aximprovements team on weekly maintenance PRs --- .../workflows/upgrade-python-requirements.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 7a1d6ba1b..7ae7f730f 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -26,3 +26,24 @@ jobs: requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }} edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }} edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }} + + tag-axim-team-for-review: + name: Tag Axim Team for review + runs-on: ubuntu-latest + steps: + - name: Mention aximprovements team + uses: actions/github-script@v4 + with: + script: | + const teamName = "openedx/axim-aximprovements"; + const prNumber = context.payload.pull_request.number; + const comment = `@${teamName} New pull request (#${prNumber})for review + github.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + body: comment + }); + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + From 3eaa9321191b1eccab382e1f5945f0a32a8bd4ef Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Thu, 24 Aug 2023 20:19:23 +0500 Subject: [PATCH 2/4] fix: Added team to previous workflow --- .../workflows/upgrade-python-requirements.yml | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 7ae7f730f..7a55d84ce 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -18,7 +18,7 @@ jobs: branch: ${{ github.event.inputs.branch || 'master' }} # optional parameters below; fill in if you'd like github or email notifications # user_reviewers: "" - team_reviewers: "axim-engineering" + team_reviewers: "axim-aximprovements" # email_address: "" # send_success_notification: false secrets: @@ -26,24 +26,3 @@ jobs: requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }} edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }} edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }} - - tag-axim-team-for-review: - name: Tag Axim Team for review - runs-on: ubuntu-latest - steps: - - name: Mention aximprovements team - uses: actions/github-script@v4 - with: - script: | - const teamName = "openedx/axim-aximprovements"; - const prNumber = context.payload.pull_request.number; - const comment = `@${teamName} New pull request (#${prNumber})for review - github.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: prNumber, - body: comment - }); - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - From 0e0d551a917ac617b9abc31a96312e5d8a1140a4 Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Thu, 24 Aug 2023 20:46:03 +0500 Subject: [PATCH 3/4] feat: added aximprovements mailing group --- .github/workflows/upgrade-python-requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 7a55d84ce..1f820ab88 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -19,7 +19,7 @@ jobs: # optional parameters below; fill in if you'd like github or email notifications # user_reviewers: "" team_reviewers: "axim-aximprovements" - # email_address: "" + email_address: "aximimprovements@axim.org" # send_success_notification: false secrets: requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }} From cd2d4bf1e66c03038f4d1ac890343008e2716273 Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Tue, 29 Aug 2023 16:08:44 +0500 Subject: [PATCH 4/4] feat: set success notifications false --- .github/workflows/upgrade-python-requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 1f820ab88..a045ec073 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -20,7 +20,7 @@ jobs: # user_reviewers: "" team_reviewers: "axim-aximprovements" email_address: "aximimprovements@axim.org" - # send_success_notification: false + send_success_notification: false secrets: requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }} requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}