Some workflows had links or conditionals based on the old repo name so update them to use the new repository name.
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
name: Upgrade Requirements
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 2 * * 2"
|
|
workflow_dispatch:
|
|
inputs:
|
|
branch:
|
|
description: "Target branch to create requirements PR against"
|
|
required: true
|
|
default: "master"
|
|
jobs:
|
|
call-upgrade-python-requirements-workflow:
|
|
# Don't run the weekly upgrade job on forks -- it will send a weekly failure email.
|
|
if: github.repository == 'openedx/openedx-platform' || github.event_name != 'schedule'
|
|
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
|
|
with:
|
|
branch: ${{ github.event.inputs.branch }}
|
|
team_reviewers: "wg-maintenance-openedx-platform"
|
|
email_address: orbi-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 }}
|