Indentation, move comment above the block.

This commit is contained in:
Benoit Marty 2022-07-11 12:41:17 +02:00
parent 63419fcf5e
commit 6feca4badf

View file

@ -218,10 +218,10 @@ jobs:
run: | run: |
python3 -m pip install towncrier python3 -m pip install towncrier
- name: Run towncrier - name: Run towncrier
run: |
# Fetch the pull request' base branch so towncrier will be able to # Fetch the pull request' base branch so towncrier will be able to
# compare the current branch with the base branch. # compare the current branch with the base branch.
# Source: https://github.com/actions/checkout/#fetch-all-branches. # Source: https://github.com/actions/checkout/#fetch-all-branches.
run: |
git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH} git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
towncrier check --compare-with origin/${BASE_BRANCH} towncrier check --compare-with origin/${BASE_BRANCH}
env: env: