v1.1.1 doesn't support neither actions/checkout@v3.3.0 nor actions/checkout@v3
fscarmen opened this issue · 4 comments
fscarmen commented
Your repo is very usefully.
We expect you can modify the program to support [actions/checkout@v3.3.0].
Thank you!
yasaichi commented
fscarmen commented
It 's ok when the checkout is v1
name: 'GitHub Actions Mirror'
on:
workflow_dispatch:
# push:
# branches:
# - master
schedule:
- cron: '20 20 * * *'
jobs:
mirror_to_gitlab:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Mirror to gitlab'
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@gitlab.com:fscarmen/warp_unlock.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}
mirror_to_bitbucket:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Mirror to bitbucket'
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@bitbucket.org:fscarmen/warp_unlock.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}
mirror_to_gitee:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Mirror to gitee'
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@gitee.com:fscarmen/warp_unlock.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}
===========================================================================
When i updated the actions/checkout@v1 to actions/checkout@v3.3.0 and pixta-dev/repository-mirroring-action@v1 to pixta-
dev/repository-mirroring-action@v1.1.1. The actions run fail.
name: 'GitHub Actions Mirror'
on:
workflow_dispatch:
# push:
# branches:
# - master
schedule:
- cron: '20 20 * * *'
jobs:
mirror_to_gitlab:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3.3.0
- name: 'Mirror to gitlab'
uses: pixta-dev/repository-mirroring-action@v1.1.1
with:
target_repo_url:
git@gitlab.com:fscarmen/warp_unlock.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}
mirror_to_bitbucket:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3.3.0
- name: 'Mirror to bitbucket'
uses: pixta-dev/repository-mirroring-action@v1.1.1
with:
target_repo_url:
git@bitbucket.org:fscarmen/warp_unlock.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}
mirror_to_gitee:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3.3.0
- name: 'Mirror to gitee'
uses: pixta-dev/repository-mirroring-action@v1.1.1
with:
target_repo_url:
git@gitee.com:fscarmen/warp_unlock.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}
yasaichi commented
@fscarmen
Will you please try specify fetch-depth: 0 option to the checkout action? It could fix the error.
fscarmen commented
Will you please try specify fetch-depth: 0 option to the checkout action? It could fix the error.
I don't quite understand the meaning, how should I modify it?