Skip to content

what it is like during a natural disaster #90

what it is like during a natural disaster

what it is like during a natural disaster #90

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