Skip to content

Commit

Permalink
Use different sources for the branch names since the old ways didn't …
Browse files Browse the repository at this point in the history
…seem to work as expected.
  • Loading branch information
SpicyLemon committed Jul 29, 2024
1 parent 6465126 commit 2d4a682
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ jobs:
# Using an env var for it (like this) prevents that vulnerability.
PR_TITLE: ${{ github.event.pull_request.title }}
PR_NUM: ${{ github.event.number }}
PR_TARGET: ${{ github.base_ref }}
PR_BASE: ${{ github.event.pull_request.head.ref }}
PR_TARGET: ${{ github.event.pull_request.base.ref }}
run: |
./scripts/dependabot-changelog.sh \
--verbose \
--pr "$PR_NUM" \
--title "$PR_TITLE" \
--head-branch "$GITHUB_HEAD_REF" \
--head-branch "$PR_BASE" \
--target-branch "$PR_TARGET"
# All commits must be signed, import key and sign commit of updated change log.
Expand Down

0 comments on commit 2d4a682

Please sign in to comment.