Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Merge branch 'oscam-svn' #47

Merge branch 'oscam-svn'

Merge branch 'oscam-svn' #47

Workflow file for this run

name: create patch
on:
push:
branches:
- master
paths-ignore:
- '.github/**'
workflow_dispatch:
jobs:
create-patch:
runs-on: ubuntu-latest
steps:
- name: checkout oscam-patched
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: checkout oscam-emu
uses: actions/checkout@v4
with:
repository: oscam-emu/oscam-emu
token: ${{ secrets.ACTIONS_TOKEN }}
path: emu
- name: create patch
run: |
git checkout oscam-svn
git checkout master
./git-svn-diff.sh > oscam-emu.patch
sudo mv oscam-emu.patch emu
- name: commit changes
run: |
cd emu
git config --global user.name "oscam-emu"
git config --global user.email "[email protected]"
if ! git diff --quiet HEAD; then
git commit -am "Update patch"
git push
fi