upgrade-main #150
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
name: upgrade-main | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: '0 14 * * *' | |
jobs: | |
upgrade: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4.2.2 | |
with: | |
fetch-depth: 0 | |
ref: main | |
- name: Setup Python | |
uses: actions/setup-python@v5.3.0 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install pipenv | |
pipenv install | |
- name: Update Deps | |
run: | | |
pipenv update | |
git diff | |
- name: Create Pull Request | |
id: create-pr | |
uses: peter-evans/create-pull-request@v7.0.5 | |
with: | |
token: ${{ secrets.P6_PGOLLUCCI_GH_TOKEN }} | |
commit-message: |- | |
chore(deps): upgrade dependencies | |
Upgrades project dependencies. See details in [workflow run]. | |
[Workflow Run]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
branch: github-actions/upgrade-main | |
title: "chore(deps): upgrade dependencies" | |
labels: auto-approve | |
body: |- | |
Upgrades project dependencies. See details in [workflow run]. | |
[Workflow Run]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
author: github-actions <github-actions@github.com> | |
committer: github-actions <github-actions@github.com> | |
signoff: true |