Skip to content

Commit

Permalink
Fix changelog.yml GitHub actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Aug 4, 2023
1 parent 8a218a2 commit 7ac16db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
# Fetch the pull request' base branch so towncrier will be able to
# compare the current branch with the base branch.
# Source: https://github.com/actions/checkout/#fetch-all-branches.
git fetch --no-tags origin master
towncrier check --compare-with origin/master
git fetch --no-tags origin main
towncrier check --compare-with origin/main
env:
BASE_BRANCH: ${{ github.base_ref }}
if: github.event_name == 'pull_request'

0 comments on commit 7ac16db

Please sign in to comment.