track and field #87
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: Merge Proposed Themes with Python 🐍 totolo 🤖 | |
on: | |
push: | |
branches: [ dev-themes ] | |
jobs: | |
merge-proposed-into-primary: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install totolo | |
- name: Reformat "notes" in repository checkout | |
run: | | |
python -m totolo.util.mergefiles ./notes/themes/proposed.th.txt ./notes/themes/primary.th.txt --reorder | |
: > ./notes/themes/proposed.th.txt | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: merge proposed themes, with python-totolo | |
title: merge proposed themes => primary themes | |
body: | | |
Merge proposed themes => primary themes, with python-totolo command: | |
python -m totolo.util.mergefiles ./notes/themes/proposed.th.txt ./notes/themes/primary.th.txt --reorder | |
: > ./notes/themes/proposed.th.txt | |
branch: totolo-merge-proposed | |
delete-branch: true |