-
Notifications
You must be signed in to change notification settings - Fork 716
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use Commit step from prettier linting
https://github.com/nf-core/modules/blob/90b1d1bd7f9474e173abd9e4082dedb559c7542a/.github/workflows/fix-linting.yml#L62-L71 Co-authored-by: mashehu <[email protected]>
- Loading branch information
1 parent
0b44ac2
commit 9ece874
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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 | ||
|