Skip to content

Commit 342ed16

Browse files
author
Feanil Patel
authored
Merge pull request #291 from openedx/feanil/add_requirements_job
Create upgrade-python-requirements.yml and add catalog file
2 parents 29a532c + a825acb commit 342ed16

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
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: "master"
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 || "master" }}
21+
# optional parameters below; fill in if you'd like github or email notifications
22+
user_reviewers: "feanil"
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 }}

catalog-info.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: backstage.io/v1alpha1
2+
kind: Component
3+
metadata:
4+
name: 'openedx-webhooks'
5+
description: "The CLA bot and new PR welcome message."
6+
links: []
7+
annotations:
8+
openedx.org/arch-interest-groups: "feanil"
9+
spec:
10+
owner: user:feanil
11+
type: 'website'
12+
lifecycle: 'production'

0 commit comments

Comments
 (0)