Skip to content

Commit 0df92f4

Browse files
Copilotlippytm
andcommitted
Add workflow enhancements and repository connections
Co-authored-by: lippytm <65956507+lippytm@users.noreply.github.com>
1 parent 4cace4b commit 0df92f4

3 files changed

Lines changed: 175 additions & 3 deletions

File tree

.github/workflows/blank.yml

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
1-
# This is a basic workflow to help you get started with Actions
1+
# This is a workflow to manage builds and connect to other repositories
22

33
name: CI
44

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
5+
# Controls when the action will run
76
on:
87
push:
98
branches: [ master ]
109
pull_request:
1110
branches: [ master ]
11+
# Allow manual workflow dispatch
12+
workflow_dispatch:
13+
inputs:
14+
target_repo:
15+
description: 'Target repository to notify (optional)'
16+
required: false
17+
type: choice
18+
options:
19+
- 'none'
20+
- 'Web3AI'
21+
- 'gatsby-starter-blog'
22+
- 'Time-Machines-Builders-'
23+
- 'AI-Time-Machines'
24+
# Allow this workflow to be triggered from other repositories
25+
repository_dispatch:
26+
types: [trigger-ci]
1227

1328
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1429
jobs:
@@ -31,3 +46,34 @@ jobs:
3146
run: |
3247
echo Add other actions to build,
3348
echo test, and deploy your project.
49+
50+
# Display connected repositories
51+
- name: Show Connected Repositories
52+
run: |
53+
echo "==================================="
54+
echo "Connected Repositories Status"
55+
echo "==================================="
56+
echo "✓ lippytm/Transparency-Logic-Time-Machine-Bots- (this repo)"
57+
echo "✓ lippytm/Web3AI"
58+
echo "✓ lippytm/gatsby-starter-blog"
59+
echo "✓ lippytm/Time-Machines-Builders-"
60+
echo "✓ lippytm/AI-Time-Machines"
61+
echo "==================================="
62+
63+
# Job to check status of connected repositories
64+
check-connected-repos:
65+
runs-on: ubuntu-latest
66+
strategy:
67+
matrix:
68+
repo:
69+
- 'Web3AI'
70+
- 'gatsby-starter-blog'
71+
- 'Time-Machines-Builders-'
72+
- 'AI-Time-Machines'
73+
74+
steps:
75+
- name: Check repository status
76+
run: |
77+
echo "Checking status of lippytm/${{ matrix.repo }}"
78+
echo "Repository: https://github.com/lippytm/${{ matrix.repo }}"
79+
echo "This job monitors connectivity with connected repositories"
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Workflow for synchronizing and notifying connected repositories
2+
3+
name: Cross-Repository Sync
4+
5+
on:
6+
push:
7+
branches: [ master ]
8+
workflow_dispatch:
9+
inputs:
10+
notify_all:
11+
description: 'Notify all connected repositories'
12+
required: false
13+
type: boolean
14+
default: false
15+
16+
jobs:
17+
notify-connected-repos:
18+
runs-on: ubuntu-latest
19+
if: github.event_name == 'workflow_dispatch' && github.event.inputs.notify_all == 'true'
20+
strategy:
21+
matrix:
22+
repo:
23+
- 'Web3AI'
24+
- 'gatsby-starter-blog'
25+
- 'Time-Machines-Builders-'
26+
- 'AI-Time-Machines'
27+
28+
steps:
29+
- name: Notify repository
30+
run: |
31+
echo "Would notify repository: lippytm/${{ matrix.repo }}"
32+
echo "Event type: update from Transparency-Logic-Time-Machine-Bots-"
33+
echo "Note: To enable actual notifications, add a PAT token with repo_dispatch permissions"
34+
echo "and uncomment the repository_dispatch action below"
35+
36+
# Uncomment and configure the following step with a PAT token to enable actual cross-repo triggers
37+
# - name: Repository Dispatch
38+
# uses: peter-evans/repository-dispatch@v2
39+
# with:
40+
# token: ${{ secrets.REPO_ACCESS_TOKEN }}
41+
# repository: lippytm/${{ matrix.repo }}
42+
# event-type: transparency-bots-update
43+
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
44+
45+
display-repo-connections:
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Display Connected Repository Network
49+
run: |
50+
echo "╔═══════════════════════════════════════════════════════╗"
51+
echo "║ Transparency Logic Time Machine Bots Network ║"
52+
echo "╚═══════════════════════════════════════════════════════╝"
53+
echo ""
54+
echo "🔗 Connected Repositories:"
55+
echo ""
56+
echo " 1. 🌐 Web3AI"
57+
echo " https://github.com/lippytm/Web3AI"
58+
echo " Purpose: Web3 and AI integration"
59+
echo ""
60+
echo " 2. 📝 gatsby-starter-blog"
61+
echo " https://github.com/lippytm/gatsby-starter-blog"
62+
echo " Purpose: Blog platform with Gatsby"
63+
echo ""
64+
echo " 3. ⚙️ Time-Machines-Builders-"
65+
echo " https://github.com/lippytm/Time-Machines-Builders-"
66+
echo " Purpose: AI automation and blockchain development"
67+
echo ""
68+
echo " 4. 🤖 AI-Time-Machines"
69+
echo " https://github.com/lippytm/AI-Time-Machines"
70+
echo " Purpose: AI Agents integration"
71+
echo ""
72+
echo "═══════════════════════════════════════════════════════"
73+
echo "Workflow completed successfully!"

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,55 @@
11
# Transparency-Logic-Time-Machine-Bots-
22
The Grand United Fields of Theories
3+
4+
## Connected Repositories
5+
6+
This repository is part of a network of interconnected projects:
7+
8+
### 🌐 [Web3AI](https://github.com/lippytm/Web3AI)
9+
Web3 and AI integration platform
10+
11+
### 📝 [gatsby-starter-blog](https://github.com/lippytm/gatsby-starter-blog)
12+
Blog platform built with Gatsby
13+
14+
### ⚙️ [Time-Machines-Builders-](https://github.com/lippytm/Time-Machines-Builders-)
15+
AI automation in Earn while you Learn to Become a Better Programmer and Blockchain Developer
16+
17+
### 🤖 [AI-Time-Machines](https://github.com/lippytm/AI-Time-Machines)
18+
Adding AI Agents to everything with Time Machines
19+
20+
## Workflow Features
21+
22+
This repository includes GitHub Actions workflows that:
23+
24+
- ✅ Run continuous integration on push and pull requests
25+
- ✅ Support manual workflow dispatch with repository selection
26+
- ✅ Monitor status of connected repositories
27+
- ✅ Enable cross-repository synchronization
28+
- ✅ Accept repository dispatch events from other repos
29+
30+
### Workflow Badges
31+
32+
![CI Status](https://github.com/lippytm/Transparency-Logic-Time-Machine-Bots-/workflows/CI/badge.svg)
33+
![Cross-Repository Sync](https://github.com/lippytm/Transparency-Logic-Time-Machine-Bots-/workflows/Cross-Repository%20Sync/badge.svg)
34+
35+
## Usage
36+
37+
### Triggering Workflows Manually
38+
39+
You can trigger workflows manually from the Actions tab:
40+
41+
1. Go to the **Actions** tab
42+
2. Select the workflow you want to run
43+
3. Click **Run workflow**
44+
4. Select options as needed
45+
46+
### Cross-Repository Integration
47+
48+
To enable full cross-repository dispatch capabilities:
49+
50+
1. Create a Personal Access Token (PAT) with `repo` scope
51+
2. Add it as a secret named `REPO_ACCESS_TOKEN` in repository settings
52+
3. Uncomment the repository dispatch step in `cross-repo-sync.yml`
53+
54+
This will allow workflows in this repository to trigger workflows in connected repositories.
55+

0 commit comments

Comments
 (0)