diff --git a/.github/actions/draft-release/action.yaml b/.github/actions/draft-release/action.yaml index 387de52ca..51fe8447e 100644 --- a/.github/actions/draft-release/action.yaml +++ b/.github/actions/draft-release/action.yaml @@ -20,6 +20,12 @@ runs: steps: - name: install-gardener-gha-libs uses: gardener/cc-utils/.github/actions/install-gardener-gha-libs@master + - name: install-git + run: | + set -eu + if which git &>/dev/null; then exit 0; fi + apt-get install -y git + shell: sh - name: Update draft-release shell: sh run: | @@ -33,6 +39,9 @@ runs: echo 'Component-Descriptor:' cat component-descriptor.yaml + git config --global user.name 'Gardener GitHubActions-Bot' + git config --global user.email 'no-reply@github.com' + auth_token="${{ inputs.github-token }}" if [ -z "${auth_token:-}" ]; then