Skip to content

Commit 0785db2

Browse files
committed
Testing sync workflow
1 parent 1c3c729 commit 0785db2

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/sync_cling.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
11
name: Sync Cling repo
22

3-
on:
4-
push:
5-
branches:
6-
- 'master'
7-
paths:
8-
- 'interpreter/cling/**'
9-
workflow_dispatch:
10-
3+
on: pull_request
114
jobs:
125
sync-cling-history:
13-
if: github.repository_owner == 'root-project'
6+
if: github.repository_owner == 'devajithvs'
147
runs-on: ubuntu-latest
158
steps:
169
- name: Checkout ROOT
1710
uses: actions/checkout@v4
1811
with:
1912
path: root
20-
fetch-depth: 524288
13+
fetch-depth: 100
2114

2215
- name: Checkout Cling
2316
uses: actions/checkout@v4
2417
with:
25-
repository: root-project/cling
26-
token: ${{ secrets.CLING_GIT_TOKEN }}
18+
repository: devajithvs/cling
19+
token: ${{ secrets.CLING_GIT_TOKEN_TESTING }}
2720
path: cling
28-
fetch-depth: 32768
21+
fetch-depth: 100
2922

3023
- name: Transfer changes between repositories
3124
run: |

0 commit comments

Comments
 (0)