Skip to content

Commit 683952f

Browse files
authored
Merge pull request #124 from openedx/bmtcril/add_deps_updates
chore: Add requirements upgrade github action
2 parents 06e1c16 + 9058efa commit 683952f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Upgrade Python Requirements
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 1"
6+
workflow_dispatch:
7+
inputs:
8+
branch:
9+
description: "Target branch against which to create requirements PR"
10+
required: true
11+
# If copying this template manually, you must provide your default branch name
12+
# in quotes, such as 'master'
13+
default: $default-branch
14+
15+
jobs:
16+
call-upgrade-python-requirements-workflow:
17+
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
18+
with:
19+
# If copying manually, also provide your default branch name in quotes here
20+
branch: ${{ github.event.inputs.branch || $default-branch }}
21+
# optional parameters below; fill in if you'd like github or email notifications
22+
# user_reviewers: ""
23+
# team_reviewers: ""
24+
# email_address: ""
25+
# send_success_notification: false
26+
# python_version: ""
27+
secrets:
28+
requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}
29+
requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}
30+
edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }}
31+
edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }}

0 commit comments

Comments
 (0)