diff --git a/.github/workflows/bulk_repo_update.yml b/.github/workflows/bulk_repo_update.yml index f332913..b7031b8 100644 --- a/.github/workflows/bulk_repo_update.yml +++ b/.github/workflows/bulk_repo_update.yml @@ -23,7 +23,6 @@ on: required: true default: '3.12' options: - - '3.8' - '3.12' packages: description: "Space separated list of required packages" @@ -97,7 +96,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ github.event.inputs.python_version }} - + - name: Setup Nodejs uses: actions/setup-node@v4 with: diff --git a/.github/workflows/merge-python-requirements-upgrade-prs.yml b/.github/workflows/merge-python-requirements-upgrade-prs.yml index 81be5c5..7a22748 100644 --- a/.github/workflows/merge-python-requirements-upgrade-prs.yml +++ b/.github/workflows/merge-python-requirements-upgrade-prs.yml @@ -1,11 +1,11 @@ -# This file contains a workflow which will be run on schedule every day, +# This file contains a workflow which will be run on schedule every day, # or can be call from other workflows and -# will collect all the eligible (PRs which are labelled "Ready to merge" by our +# will collect all the eligible (PRs which are labelled "Ready to merge" by our # script) python upgrade PRs from openedx or edx org. # After fetching all PRs, it will check if all the checks passing on the PR, if yes # then it will merge that PR, otherwise it will fail. # Note: -# When workflow triggered from this repo(under openedx) will merge only openedx PRs +# When workflow triggered from this repo(under openedx) will merge only openedx PRs # and will merge edx orgs' PRs only when it will be called from the edx/.github repo name: Merge Python Requirements Upgrade PRs @@ -13,7 +13,7 @@ name: Merge Python Requirements Upgrade PRs on: workflow_call: secrets: - REQUIREMENTS_BOT_GITHUB_TOKEN: + REQUIREMENTS_BOT_GITHUB_TOKEN: description: "Github token with read/write access used to merge PRs" required: true inputs: @@ -37,7 +37,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.11' - name: Checkout repo uses: actions/checkout@v4 @@ -59,7 +59,7 @@ jobs: id: generate_urls run: | echo "urls=$(python scripts/get_ready_to_merge_prs.py ${{ inputs.ORG_NAME || 'openedx' }})" >> $GITHUB_OUTPUT - + merge_pr: runs-on: ubuntu-20.04 @@ -75,7 +75,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.11' - name: Checkout tools repo uses: actions/checkout@v4 diff --git a/.github/workflows/repo-health-job.yml b/.github/workflows/repo-health-job.yml index 23b5e53..7db6182 100644 --- a/.github/workflows/repo-health-job.yml +++ b/.github/workflows/repo-health-job.yml @@ -3,7 +3,7 @@ name: Repo Health Checks on: workflow_call: secrets: - REPO_HEALTH_BOT_TOKEN: + REPO_HEALTH_BOT_TOKEN: description: "Github token with read access to all repos and write access to the target repo" required: true REPO_HEALTH_BOT_EMAIL: @@ -60,7 +60,7 @@ jobs: strategy: matrix: - python-version: ["3.8"] + python-version: ["3.11"] steps: - name: Checkout Repo @@ -70,14 +70,14 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - + - name: Clone edx-repo-health repo uses: actions/checkout@v4 with: repository: openedx/edx-repo-health path: edx-repo-health ref: ${{ inputs.EDX_REPO_HEALTH_BRANCH }} - + - name: Install pip & pip-tools run: | python3 -m pip install -r edx-repo-health/requirements/pip.txt @@ -89,14 +89,14 @@ jobs: repository: openedx/testeng-ci path: testeng-ci ref: "master" - + - name: Clone repo-tools repo uses: actions/checkout@v4 with: repository: openedx/repo-tools path: repo_tools ref: master - + - name: Clone repo-health-data repo uses: actions/checkout@v4 with: @@ -137,7 +137,7 @@ jobs: if: ${{ inputs.DASHBOARD_NAME == 'repo_health' }} run: | bash edx-repo-health/scripts/repo-health-artifact.sh - + - name: Upload sqlite db as artifact if: ${{ inputs.DASHBOARD_NAME == 'repo_health' }} uses: actions/upload-artifact@v4 diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index c064942..3cac819 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -29,9 +29,9 @@ on: default: false type: boolean python_version: - description: "The version of python to use for running this job. Defaults to python3.8" + description: "The version of python to use for running this job. Defaults to python3.11" required: false - default: "3.8" + default: "3.11" type: string secrets: requirements_bot_github_token: @@ -45,7 +45,7 @@ on: jobs: upgrade_requirements: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: setup target branch @@ -62,8 +62,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ inputs.python_version }} - # With the updated package lxml>5.0, now the system dev packages are necessary - # to run pip-compile. Without installing dev packages libxml2-dev and libxslt-dev, + # With the updated package lxml>5.0, now the system dev packages are necessary + # to run pip-compile. Without installing dev packages libxml2-dev and libxslt-dev, # the requirements upgrade job fails - name: setup dev for lxml dependency run: | diff --git a/workflow-templates/pypi-publish.yml b/workflow-templates/pypi-publish.yml index ec9b076..dc37acb 100644 --- a/workflow-templates/pypi-publish.yml +++ b/workflow-templates/pypi-publish.yml @@ -15,7 +15,7 @@ jobs: - name: setup python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.11 - name: Install pip run: pip install -r requirements/pip.txt