-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into nsprenkle/waffle-fl…
…ag-docs
- Loading branch information
Showing
676 changed files
with
133,980 additions
and
118,707 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 |
---|---|---|
|
@@ -5,3 +5,4 @@ branch = True | |
include = openassessment/* | ||
omit = | ||
*/migrations/* | ||
openassessment/runtime_imports/* |
Validating CODEOWNERS rules …
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
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,7 @@ | ||
version: 2 | ||
updates: | ||
# Adding new check for github-actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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
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
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,33 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
"schedule:weekly", | ||
":automergeLinters", | ||
":automergeMinor", | ||
":automergeTesters", | ||
":enableVulnerabilityAlerts", | ||
":rebaseStalePrs", | ||
":semanticCommits", | ||
":updateNotScheduled" | ||
], | ||
"packageRules": [ | ||
{ | ||
"matchDepTypes": [ | ||
"devDependencies" | ||
], | ||
"matchUpdateTypes": [ | ||
"lockFileMaintenance", | ||
"minor", | ||
"patch", | ||
"pin" | ||
], | ||
"automerge": true | ||
}, | ||
{ | ||
"matchPackagePatterns": ["@edx", "@openedx"], | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"automerge": true | ||
} | ||
], | ||
"timezone": "America/New_York" | ||
} |
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,19 @@ | ||
# Run the workflow that adds new tickets that are either: | ||
# - labelled "DEPR" | ||
# - title starts with "[DEPR]" | ||
# - body starts with "Proposal Date" (this is the first template field) | ||
# to the org-wide DEPR project board | ||
|
||
name: Add newly created DEPR issues to the DEPR project board | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
routeissue: | ||
uses: openedx/.github/.github/workflows/add-depr-ticket-to-depr-board.yml@master | ||
secrets: | ||
GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }} | ||
GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }} | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }} |
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,20 @@ | ||
# This workflow runs when a comment is made on the ticket | ||
# If the comment starts with "label: " it tries to apply | ||
# the label indicated in rest of comment. | ||
# If the comment starts with "remove label: ", it tries | ||
# to remove the indicated label. | ||
# Note: Labels are allowed to have spaces and this script does | ||
# not parse spaces (as often a space is legitimate), so the command | ||
# "label: really long lots of words label" will apply the | ||
# label "really long lots of words label" | ||
|
||
name: Allows for the adding and removing of labels via comment | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
add_remove_labels: | ||
uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master | ||
|
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,56 @@ | ||
name: Python CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
run_tests: | ||
name: Tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.11", "3.12"] | ||
toxenv: [quality, js, django42] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install pip | ||
run: pip install -r requirements/pip.txt | ||
|
||
- name: Set env variable | ||
run: export AWS_CONFIG_FILE=/dev/null | ||
|
||
- name: Install Dependencies | ||
run: pip install -r requirements/ci.txt | ||
|
||
- name: Install GNU gettext | ||
run: sudo apt-get install gettext | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
|
||
- name: Run Tests | ||
env: | ||
TOXENV: ${{ matrix.toxenv }} | ||
run: tox | ||
|
||
- name: Run Coverage | ||
if: matrix.python-version == '3.12' && matrix.toxenv=='django42' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
flags: unittests | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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,10 @@ | ||
# Run commitlint on the commit messages in a pull request. | ||
|
||
name: Lint Commit Messages | ||
|
||
on: | ||
- pull_request | ||
|
||
jobs: | ||
commitlint: | ||
uses: openedx/.github/.github/workflows/commitlint.yml@master |
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,30 @@ | ||
name: Publish package to PyPi | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
push: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
|
||
- name: Install pip | ||
run: pip install -r requirements/pip.txt | ||
|
||
- name: Build package | ||
run: python setup.py sdist bdist_wheel | ||
|
||
- name: Publish to PyPi | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_UPLOAD_TOKEN }} |
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,12 @@ | ||
# This workflow runs when a comment is made on the ticket | ||
# If the comment starts with "assign me" it assigns the author to the | ||
# ticket (case insensitive) | ||
|
||
name: Assign comment author to ticket if they say "assign me" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
self_assign_by_comment: | ||
uses: openedx/.github/.github/workflows/self-assign-issue.yml@master |
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,27 @@ | ||
name: Upgrade Python Requirements | ||
|
||
on: | ||
schedule: | ||
- cron: "15 15 4/14 * *" | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: "Target branch against which to create requirements PR" | ||
required: true | ||
default: "master" | ||
|
||
jobs: | ||
call-upgrade-python-requirements-workflow: | ||
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master | ||
with: | ||
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: "[email protected]" | ||
send_success_notification: true | ||
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 }} |
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
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 @@ | ||
20 |
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,22 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required: the version of this file's schema. | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
fail_on_warning: true | ||
|
||
# Set the version of python needed to build these docs. | ||
build: | ||
os: "ubuntu-lts-latest" | ||
tools: | ||
python: "3.12" | ||
|
||
# Optionally install extra requirements required to build your docs | ||
python: | ||
install: | ||
- requirements: requirements/docs.txt |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.