Skip to content

gitsplit extension dir #2

gitsplit extension dir

gitsplit extension dir #2

Workflow file for this run

name: gitsplit
on:
push:
branches:
- main
- split
pull_request:
release:
types: [published]
create:
workflow_dispatch:
jobs:
gitsplit:
runs-on: ubuntu-latest
steps:
- name: checkout
run: git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" "$GITHUB_WORKSPACE" && cd "$GITHUB_WORKSPACE"
- name: test-gitsplit-token
run: if [ -z ${{ secrets.GITSPLIT_TOKEN }} ]; then echo "GITSPLIT_TOKEN is unset"; else echo "GITSPLIT_TOKEN is set"; fi
- name: Split repositories
uses: docker://jderusse/gitsplit:latest
with:
args: gitsplit
env:
GH_TOKEN: ${{ secrets.GITSPLIT_TOKEN }}