From be122124f4819e6d7b29e90196b0acffe652f702 Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Wed, 23 Aug 2023 12:56:06 +0500 Subject: [PATCH 1/3] 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 ed5c13b..73a5753 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -25,3 +25,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 f04fe8725e92e82070ecc10b9c30d24384faffae Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Thu, 24 Aug 2023 20:21:15 +0500 Subject: [PATCH 2/3] fix: Added team to previous workflow --- .../workflows/upgrade-python-requirements.yml | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 73a5753..567bd8e 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -17,32 +17,11 @@ jobs: branch: ${{ github.event.inputs.branch || 'master' }} # optional parameters below; fill in if you'd like github or email notifications # user_reviewers: "" - team_reviewers: "arbi-bom" - email_address: "arbi-bom@edx.org" + team_reviewers: "axim-aximprovements" + # email_address: "arbi-bom@edx.org" send_success_notification: false secrets: requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }} 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 b3f8331cc69f579825757708c2e2af1856212cdc Mon Sep 17 00:00:00 2001 From: thezaeemaanwar Date: Thu, 24 Aug 2023 20:45:31 +0500 Subject: [PATCH 3/3] 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 567bd8e..0126df0 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -18,7 +18,7 @@ jobs: # optional parameters below; fill in if you'd like github or email notifications # user_reviewers: "" team_reviewers: "axim-aximprovements" - # email_address: "arbi-bom@edx.org" + email_address: "aximimprovements@axim.org" send_success_notification: false secrets: requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}