File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # https://github.com/marketplace/actions/git-repo-sync
21name : Git Repo Sync
32
43on :
54 - push
65 - delete
76
7+ permissions :
8+ contents : write
9+
810jobs :
911 sync-bitbucket :
1012 if : github.repository_owner == 'Fabulously-Optimized'
11- runs-on : ubuntu-22.04
13+ runs-on : ubuntu-24.04
14+ timeout-minutes : 30
1215 name : Git Repo Sync - BitBucket
1316 steps :
14- - uses : actions/checkout@v4
17+ - name : Checkout Repository
18+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1519 with :
1620 fetch-depth : 0
17- - uses : wangchucheng/git-repo-sync@v0.1.0
21+ persist-credentials : false
22+ - name : Synchronize code to other Git platforms
23+ uses : jauderho/git-repo-sync@6142c9cd8960dadc57d1190506d6c35ac5cee660 # v0.3.0
1824 with :
1925 target-url : ${{ secrets.BITBUCKET_GIT }}
2026 target-username : ${{ secrets.BITBUCKET_USERNAME }}
21- target-token : ${{ secrets.BITBUCKET_TOKEN }}
27+ target-token : ${{ secrets.BITBUCKET_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments