Skip to content

Commit 727b3be

Browse files
author
fatemeh
committed
Added mirror github action to org acc
1 parent 4229f5b commit 727b3be

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Mirror to Arrow GitHub Organization
2+
3+
on: [push, delete] # Runs whenever you push new code or delete a branch
4+
5+
jobs:
6+
git-mirror:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout Code
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0 # Fetches all history for all branches and tags
13+
14+
- name: Mirror to Target
15+
uses: pixta-dev/repository-mirroring-action@v1
16+
with:
17+
# Replace with your destination repo URL
18+
target_repo_url: https://github.com/arrow-data-ai/Arrow-NetApp-Enterprise-RAG
19+
# Use the secret you created in Step 3
20+
target_token: ${{ secrets.MIRROR_TOKEN }}

0 commit comments

Comments
 (0)