Update #287
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: "Update" | |
on: | |
schedule: | |
- cron: '17 4 * * 1,4' | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: 'bash --noprofile --norc -Eeuo pipefail {0}' | |
env: | |
python_version: "3.11" | |
jobs: | |
update: | |
name: Update | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.python_version }} | |
- name: Install the dependencies | |
run: python -m pip install --upgrade pipenv | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
- name: Initialize the repo | |
run: task -v init | |
- name: Update the repository | |
run: task -v update | |
- name: Create or update a pull request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: Automated update to primary components | |
commit-message: Automated update to primary components | |
committer: Seiso Automation <[email protected]> | |
delete-branch: true | |
signoff: true |