Skip to content

Commit

Permalink
ci: Use Commit step from prettier linting
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller and mashehu committed Aug 8, 2024
1 parent 90b1d1b commit 440bca1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/wave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
conda-lock
mamba
# Run conda-lock
- name: Run conda-lock
run: |
rm --force conda-lock.yml
Expand All @@ -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
Expand Down

0 comments on commit 440bca1

Please sign in to comment.