Skip to content

Commit d082b44

Browse files
committed
ci: Add commit step
1 parent 09a8ce8 commit d082b44

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/containers_config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Container Configs
22

33
on:
4-
# FIXME Remove these and only run on release or PRs to main
4+
# FIXME Remove these and only run on release or PRs to main or TEMPLATE updates
55
push:
66
branches: [main,dev]
77
pull_request:
@@ -36,4 +36,14 @@ jobs:
3636
profile="wave,${{ matrix.container_type }}"
3737
fi
3838
nextflow inspect . -profile $profile -format config > conf/containers/containers_${{ matrix.container_type }}_${{ matrix.architecture }}.config
39+
- name: Commit & push changes
40+
id: commit-and-push
41+
run: |
42+
git config user.email "[email protected]"
43+
git config user.name "nf-core-bot"
44+
git config push.default upstream
45+
git add .
46+
git status
47+
git commit -m "[automated] Update container configs"
48+
git push
3949

0 commit comments

Comments
 (0)