diff --git a/.github/workflows/wave.yml b/.github/workflows/wave.yml index 00ee152eaf48..b645061ce4c5 100644 --- a/.github/workflows/wave.yml +++ b/.github/workflows/wave.yml @@ -55,7 +55,6 @@ jobs: conda-lock mamba - # Run conda-lock - name: Run conda-lock run: | rm --force conda-lock.yml @@ -64,12 +63,15 @@ jobs: MAMBA: "--mamba" shell: bash -l {0} - # FIXME Why can nothing push? - # - name: Commit and push changes - # uses: devops-infra/action-commit-push@master - # with: - # github_token: "${{ secrets.GITHUB_TOKEN }}" - # commit_message: "[automated] autogenerated conda-lock files" + - name: Commit & push changes + run: | + git config user.email "core@nf-co.re" + git config user.name "nf-core-bot" + git config push.default upstream + git add . + git status + git commit -m "[automated] autogenerated conda-lock files" + git push - name: Get the lock file path uses: actions/github-script@v7