Skip to content

Commit

Permalink
Install git in the same step that its needed because as its own step …
Browse files Browse the repository at this point in the history
…it didn't work.
  • Loading branch information
SpicyLemon committed Jul 29, 2024
1 parent 54ad93c commit 112ee59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
# See https://github.com/stefanzweifel/git-auto-commit-action#commits-made-by-this-action-do-not-trigger-new-workflow-runs
token: ${{ secrets.BOT_CPR_PAT }}

- name: Install git
run: sudo apt update && sudo apt install git

# All commits must be signed, import key and sign commit of updated change log.
- name: Import GPG key
id: import_gpg
Expand All @@ -44,6 +41,7 @@ jobs:
PR_TITLE: ${{ github.event.pull_request.title }}
PR_NUM: ${{ github.event.number }}
run: \
sudo apt update && sudo apt install git
git fetch origin "$GITHUB_BASE_REF" --depth 1
./scripts/dependabot-changelog.sh \
--verbose \
Expand Down

0 comments on commit 112ee59

Please sign in to comment.