This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
The following commit(s) were added to refs/heads/main by this push:
new 31c95ab3 Update action.yml
31c95ab3 is described below
commit 31c95ab316069520ed4282d71007b65c322f70b8
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Mon Jul 3 11:32:38 2023 +0200
Update action.yml
---
.github/actions/automatic-updates/action.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/actions/automatic-updates/action.yml
b/.github/actions/automatic-updates/action.yml
index 5942c56d..5c0fc2b4 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -44,7 +44,12 @@ runs:
release_branch: ${{ inputs.branch-ref }}
- name: Commit changelog files
shell: bash
+ env:
+ CI_USER: "github-actions[bot]"
+ CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
run: |
+ git config --local user.email "$CI_EMAIL"
+ git config --local user.name "$CI_USER"
git add CHANGELOG.md && git commit -m 'chore: update changelog' &&
echo "changelog=1" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
- name: Set up JDK
@@ -58,6 +63,9 @@ runs:
run: ./mvnw -V --no-transfer-progress clean install -DskipTests -Psbom
- name: Commit sbom files
shell: bash
+ env:
+ CI_USER: "github-actions[bot]"
+ CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
run: |
git config --local user.email "$CI_EMAIL"
git config --local user.name "$CI_USER"
@@ -67,6 +75,10 @@ runs:
shell: bash
if: env.sync == 1 || env.changelog == 1 || env.sbom == 1
env:
+ CI_USER: "github-actions[bot]"
+ CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
CI_TOKEN: ${{ inputs.secretGithubToken }}
run: |
+ git config --local user.email "$CI_EMAIL"
+ git config --local user.name "$CI_USER"
git push
"https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:${{
inputs.branch-ref }}