forked from vtemian/django-require
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
076e6c8
commit ea4c3bf
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Upgrade Python Requirements | ||
|
||
on: | ||
schedule: | ||
# Run on the first day of the month. | ||
# This is less frequent than the Open edX default (weekly), as this repo | ||
# is old and barely used, and we just need to keep it working for another | ||
# few releases. | ||
- cron: "0 0 1 1 *" # First day of the month | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: "Target branch against which to create requirements PR" | ||
required: true | ||
# If copying this template manually, you must provide your default branch name | ||
# in quotes, such as 'master' | ||
default: "master" | ||
|
||
jobs: | ||
call-upgrade-python-requirements-workflow: | ||
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master | ||
with: | ||
# If copying manually, also provide your default branch name in quotes here | ||
branch: ${{ github.event.inputs.branch || "master" }} | ||
# optional parameters below; fill in if you'd like github or email notifications | ||
# user_reviewers: "" | ||
# team_reviewers: "" | ||
# email_address: "" | ||
# send_success_notification: false | ||
# python_version: "" | ||
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 }} |