Skip to content

Commit 19bce31

Browse files
committed
Use git clone to ensure we have a full repo
1 parent 2ed9b63 commit 19bce31

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/version-maintenance.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414

15-
- name: Checkout Colvars repo in full
16-
uses: actions/checkout@v5
17-
with:
18-
fetch-depth: 0
15+
- name: Clone Colvars repo
16+
run: |
17+
git clone git@github.com:Colvars/colvars
1918
2019
- name: Checkout Wiki repo
2120
uses: actions/checkout@v5
21+
working-directory: colvars
2222
with:
2323
repository: 'Colvars/colvars.wiki'
2424
path: 'wiki'
@@ -34,6 +34,7 @@ jobs:
3434
git config --global user.name "CI runner"
3535
3636
- name: Update Wiki page that lists Colvars versions
37+
working-directory: colvars
3738
run: |
3839
bash doc/print_engine_versions.sh > wiki/List-of-Colvars-versions-included-in-simulation-and-analysis-packages.md
3940
if ! git -C wiki diff --quiet ; then

0 commit comments

Comments
 (0)