You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/12/20 11:49:44 UTC

[camel-k] 01/02: fix(ci): use shell for action steps

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-1.11.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit d5f87b7a8b451bb84af48f58cab4a8f680e3f132
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Dec 20 09:50:10 2022 +0100

    fix(ci): use shell for action steps
---
 .github/actions/automatic-updates/action.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml
index 7757eddd9..343309cb3 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -32,6 +32,7 @@ runs:
         token: ${{ inputs.secretGithubToken }}
         release_branch: ${{ inputs.branch-ref }}
     - name: Commit changelog
+      shell: bash
       env:
         CI_USER: "github-actions[bot]"
         CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
@@ -40,6 +41,7 @@ runs:
         git config --local user.name "$CI_USER"
         git add CHANGELOG.md && git commit -m 'chore: changelog automatic update' && echo "changelog=1" >> $GITHUB_ENV || echo "No changes to CHANGELOG"
     - name: Run refresh actions and commit
+      shell: bash
       env:
         CI_USER: "github-actions[bot]"
         CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
@@ -48,6 +50,7 @@ runs:
         make update-docs
         git add -A && git commit -m 'chore: nightly resource refresh' && echo "refresh=1" >> $GITHUB_ENV || echo "No changes to make update-docs"
     - name: Push changes
+      shell: bash
       if: env.changelog == 1 || env.refresh == 1
       env:
         CI_USER: "github-actions[bot]"