Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade automation to Python 3.11 #428

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/update-project-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ on:

jobs:
updateProjectData:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
# cache: 'pip' # caching pip dependencies
- run: python3.10 -m pip install -r ./project/requirements.txt
python-version: '3.11'
cache: 'pip' # caching pip dependencies
- run: python3.11 -m pip install -r ./project/requirements.txt
- run: |
./project/bin/get_maintainer_data
env:
GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
title: Update maintainer data
signoff: true
token: ${{secrets.BOT_GITHUB_TOKEN}}
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion project/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruamel.yaml
ruamel_yaml
Loading