Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 54 additions & 4 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,43 @@
# This is a basic workflow to help you get started with Actions
# This is a workflow to manage builds and connect to other repositories

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
# Controls when the action will run
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allow manual workflow dispatch
workflow_dispatch:
inputs:
target_repo:
description: 'Target repository to notify (optional)'
required: false
type: choice
options:
- 'none'
- 'Web3AI'
- 'gatsby-starter-blog'
- 'Time-Machines-Builders-'
- 'AI-Time-Machines'
# Allow this workflow to be triggered from other repositories
repository_dispatch:
types: [trigger-ci]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions:
contents: read

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Runs a single command using the runners shell
- name: Run a one-line script
Expand All @@ -31,3 +48,36 @@ jobs:
run: |
echo Add other actions to build,
echo test, and deploy your project.

# Display connected repositories
- name: Show Connected Repositories
run: |
echo "==================================="
echo "Connected Repositories Status"
echo "==================================="
echo "✓ lippytm/Transparency-Logic-Time-Machine-Bots- (this repo)"
echo "✓ lippytm/Web3AI"
echo "✓ lippytm/gatsby-starter-blog"
echo "✓ lippytm/Time-Machines-Builders-"
echo "✓ lippytm/AI-Time-Machines"
echo "==================================="

# Job to check status of connected repositories
check-connected-repos:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
repo:
- 'Web3AI'
- 'gatsby-starter-blog'
- 'Time-Machines-Builders-'
- 'AI-Time-Machines'

steps:
- name: Check repository status
run: |
echo "Checking status of lippytm/${{ matrix.repo }}"
echo "Repository: https://github.com/lippytm/${{ matrix.repo }}"
echo "This job monitors connectivity with connected repositories"
77 changes: 77 additions & 0 deletions .github/workflows/cross-repo-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Workflow for synchronizing and notifying connected repositories

name: Cross-Repository Sync

on:
push:
branches: [ master ]
workflow_dispatch:
inputs:
notify_all:
description: 'Notify all connected repositories'
required: false
type: boolean
default: false

jobs:
notify-connected-repos:
runs-on: ubuntu-latest
permissions:
contents: read
if: github.event_name == 'workflow_dispatch' && github.event.inputs.notify_all == 'true'
strategy:
matrix:
repo:
- 'Web3AI'
- 'gatsby-starter-blog'
- 'Time-Machines-Builders-'
- 'AI-Time-Machines'

steps:
- name: Notify repository
run: |
echo "Would notify repository: lippytm/${{ matrix.repo }}"
echo "Event type: update from Transparency-Logic-Time-Machine-Bots-"
echo "Note: To enable actual notifications, add a PAT token with repo_dispatch permissions"
echo "and uncomment the repository_dispatch action below"

# Uncomment and configure the following step with a PAT token to enable actual cross-repo triggers
# - name: Repository Dispatch
# uses: peter-evans/repository-dispatch@v2
# with:
# token: ${{ secrets.REPO_ACCESS_TOKEN }}
# repository: lippytm/${{ matrix.repo }}
# event-type: transparency-bots-update
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

display-repo-connections:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Display Connected Repository Network
run: |
echo "╔═══════════════════════════════════════════════════════╗"
echo "║ Transparency Logic Time Machine Bots Network ║"
echo "╚═══════════════════════════════════════════════════════╝"
echo ""
echo "🔗 Connected Repositories:"
echo ""
echo " 1. 🌐 Web3AI"
echo " https://github.com/lippytm/Web3AI"
echo " Purpose: Web3 and AI integration"
echo ""
echo " 2. 📝 gatsby-starter-blog"
echo " https://github.com/lippytm/gatsby-starter-blog"
echo " Purpose: Blog platform with Gatsby"
echo ""
echo " 3. ⚙️ Time-Machines-Builders-"
echo " https://github.com/lippytm/Time-Machines-Builders-"
echo " Purpose: AI automation and blockchain development"
echo ""
echo " 4. 🤖 AI-Time-Machines"
echo " https://github.com/lippytm/AI-Time-Machines"
echo " Purpose: AI Agents integration"
echo ""
echo "═══════════════════════════════════════════════════════"
echo "Workflow completed successfully!"
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,55 @@
# Transparency-Logic-Time-Machine-Bots-
The Grand United Fields of Theories

## Connected Repositories

This repository is part of a network of interconnected projects:

### 🌐 [Web3AI](https://github.com/lippytm/Web3AI)
Web3 and AI integration platform

### 📝 [gatsby-starter-blog](https://github.com/lippytm/gatsby-starter-blog)
Blog platform built with Gatsby

### ⚙️ [Time-Machines-Builders-](https://github.com/lippytm/Time-Machines-Builders-)
AI automation in Earn while you Learn to Become a Better Programmer and Blockchain Developer

### 🤖 [AI-Time-Machines](https://github.com/lippytm/AI-Time-Machines)
Adding AI Agents to everything with Time Machines

## Workflow Features

This repository includes GitHub Actions workflows that:

- ✅ Run continuous integration on push and pull requests
- ✅ Support manual workflow dispatch with repository selection
- ✅ Monitor status of connected repositories
- ✅ Enable cross-repository synchronization
- ✅ Accept repository dispatch events from other repos

### Workflow Badges

![CI Status](https://github.com/lippytm/Transparency-Logic-Time-Machine-Bots-/workflows/CI/badge.svg)
![Cross-Repository Sync](https://github.com/lippytm/Transparency-Logic-Time-Machine-Bots-/workflows/Cross-Repository%20Sync/badge.svg)

## Usage

### Triggering Workflows Manually

You can trigger workflows manually from the Actions tab:

1. Go to the **Actions** tab
2. Select the workflow you want to run
3. Click **Run workflow**
4. Select options as needed

### Cross-Repository Integration

To enable full cross-repository dispatch capabilities:

1. Create a Personal Access Token (PAT) with `repo` scope
2. Add it as a secret named `REPO_ACCESS_TOKEN` in repository settings
3. Uncomment the repository dispatch step in `cross-repo-sync.yml`

This will allow workflows in this repository to trigger workflows in connected repositories.

Loading