We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19b004 commit 5cfd7d0Copy full SHA for 5cfd7d0
.github/workflows/on-pr.yml
@@ -47,7 +47,7 @@ jobs:
47
# Fetch the pull request' base branch so towncrier will be able to
48
# compare the current branch with the base branch.
49
# Source: https://github.com/actions/checkout/#fetch-all-branches.
50
- git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
51
- towncrier check --compare-with origin/${BASE_BRANCH}
+ git fetch --no-tags origin +refs/heads/main:refs/remotes/origin/main
+ towncrier check --compare-with origin/main
52
env:
53
BASE_BRANCH: ${{ github.base_ref }}
0 commit comments