Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
fix: Added team to previous workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thezaeemaanwar committed Aug 24, 2023
1 parent 2389aaf commit 941f3bf
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,11 @@ jobs:
branch: ${{ github.event.inputs.branch || github.event.repository.default_branch }}
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
# team_reviewers: ""
team_reviewers: "axim-aximprovements"
# email_address: ""
# 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 }}

0 comments on commit 941f3bf

Please sign in to comment.